Hi Chris ----
You know, you could use INSERT INTO instead of the APPEND BLANK and REPLACE duo. Do you have a tab order set or is it important that the table be in physical order? Hmmm.
FGET(mfilename,500) is an "oops" on my part. I copied the code over from a working app and should have explained that: The 500 represents the line length. If VFP encounters an end of line marker before 500, no sweat. You should adjust this figure to the maximum line length specific to your situation.
Glad I could help!
>
>Many thanks for the solution - it works fine however I had to put
>GO BOTTOM
>APPEND BLANK
>
>to append the records to the bottom of the table after the SELECT Mytable - I really appreciate the help. Just one minor question - what is the ",500" for in the line:
>
>cLine=FGET(mfilename,500)
>
>Regards
>
>Chris Kable
>MotorLink Systems
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05