Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save to XLS file name
Message
From
22/12/2012 19:16:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01560484
Message ID:
01560487
Views:
47
>>I want to save a table as XLS. (Excel) With the UT's help I learned to save a variable's contents as a table name, but I am having no success converting the method to saving as XLS.
>>What I have so far is below, it just produces a file named filetosave :-(
>>
>>
>>PRIVATE filetosave
>>m.FileToSave = CDOW(DATE())
>>COPY TO (m.FiletoSave).XLS FOR len(alltrim(indicator)) > 2 TYPE XL5
>>
>
>Try
>
>
>local filetosave
>m.FileToSave = forceext(CDOW(DATE()), 'xls')
>COPY TO (m.FiletoSave) FOR len(alltrim(indicator)) > 2 TYPE XL5
>
:-) Right away, Ma'am. and Thank you and Merry Christmas
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform