How does the format of the text file relate to the structure of the table? Usually, a simple
Append from <filename.txt> SDF
or
Append From <filename> Delimited
is enough.
If the text file 'fields' are the fixed length, you can use SDF, if they are separated by something then you'd use the delimited or delimited with commands.
Alan
>Hi Guys,
>
>I have a Timekeeping log that stored in a TExt file format. How can I transfer this data into the VFP table. The process should be read text file line by line and append each line into the table. How can I do this? Can you please provide me a sample code and syntax?
>
>
>Thanks Again