Hi Moises
>Get all the records in table product which is related to the
>the record in the parent table
>store to a txt file ( the txt file name will be named &frec)
SELECT * FROM PRODUCT WHERE
= INTO
GO TOP
_VFP.DataToClip
STRTOFILE( _ClipText, , .T.)
----
Regards
Andy Kramek