On Thu, 20 Nov 2008 12:44:38 -0500 (EST)
[EMAIL PROTECTED] wrote:
 
> Need a TDataset component to handle sequential files in Delphi 5

Delphi 5 comes with an exisiting BDE option that handles comma- or tab-
delimited sequential text files. Nothing more is needed for the
BDE to read and write sequential files so long as you provide a 
'schema file' that correctly describes the layout of your text-based
data.
 A CSV data file named data.txt used with a TTable
component will automatically have its TableType property set to
ttASCII (this happens on the basis of the .txt extension).
The BDE then knows the data is not in dBase or Paradox etc. format and
looks for a schema file named data.sch which must be structured as ini
file format. The schema provides the equivalent of TFieldDefs for
random access files. You can easily get the details about the simple
structure of the required .sch file from a Google search.

Howard Page-Clark

Reply via email to