Raymond ---
What you need to do is establish the relationship in code, then use the low-level file functions (FOPEN, FWRITEetc.) to write out each record into an ASCII file.
>With VFP6 is the Max number of variables 255? If it is, and you had four related tables each with 200 variables, how would bring them together to export into a single (big) ASCII table?
>
>thanks
------------------------------------------------
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