Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert to excel
Message
 
 
To
08/09/2005 15:43:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01047848
Message ID:
01047851
Views:
10
>hi all,
>
>any idea ,to convert mytable to excel book,
>
>just fields have data only,
>this code under convert all fields
>
>USE am2
>*GETFILE()
>
>gcDelimName = ALIAS( ) + '.xls'
>
>gcDelimFile = PUTFILE('excel_file:', gcDelimName, 'xls')
>
>IF EMPTY(gcDelimFile)  && Esc pressed
>   CANCEL
>ENDIF
>
>COPY TO (gcDelimFile) XLS   && Create delimited file
>
>
>
>thanks.

Check COPY TO command in Help. This command has FIELDS clause.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform