Processing a text file
From: Dave (dphull_at_insipid.com)
Date: 12/30/03
- Next message: Mike Shkolnik: "Re: Processing a text file"
- Previous message: J French: "Re: Define a property to pass an array"
- Next in thread: Mike Shkolnik: "Re: Processing a text file"
- Reply: Mike Shkolnik: "Re: Processing a text file"
- Reply: Jamie: "Re: Processing a text file"
- Reply: René Larsen: "Re: Processing a text file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2003 12:42:40 -0800
I've got a text file that contains one record per line. Each line is
164 bytes not counting end of line markers. Each line contains 29
fields with no separating characters.
I had originally thought I could create a record for this and then
treat the file as a file of that record type and read the data into
the records and deal with the fields as needed, but this is not
working. There's lots of binary data showing up in the fields and the
first byte of each record is being dropped off altogether.
So I moved on to thinking maybe I could use TTable and read each
record into the fields of the TTable object, but I'm not sure how to
proceed with this.
Any suggestions using native Delphi components?
Thanks in advance.
- Next message: Mike Shkolnik: "Re: Processing a text file"
- Previous message: J French: "Re: Define a property to pass an array"
- Next in thread: Mike Shkolnik: "Re: Processing a text file"
- Reply: Mike Shkolnik: "Re: Processing a text file"
- Reply: Jamie: "Re: Processing a text file"
- Reply: René Larsen: "Re: Processing a text file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|