Re: Populate dataset with text file



Read a record from the file using the text file I/O routines.

AssignFile
Reset
ReadLn
CloseFile

Assign each record to the DelimitedText property of a TStringList after
setting the Delimiter and Separator properties.

Each field of the record will now be in an element of the StringList.

--
Bill Todd (TeamB)
.