You can use the COPY TO command with XLS option to export to Excel, but for anything complicated, or to export to a Word document you will need to use COM. There are several resources on the web, explaining how to do this. Just search for "export vfp word", or "export vfp excel".
FoxWeb Support Team
Sent by cynthiagv on 10/21/2009 08:09:46 AM:
Anybody can give me an example of how to export data to an excel or word document??? i have not idea and need to create a document with data (of a database) from my program...