Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert report to excel
Message
From
15/05/2007 08:38:48
 
 
To
15/05/2007 08:31:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01225460
Message ID:
01225481
Views:
29
hi,
thank you for reply,

my customer need to convert any report to excel sheet via command button , as new VB accounting system have option to convert any report to excel sheet.
thanks.

>You can use COPY TO, of course, but that doesn't really give you much options. You have much more options, for an Excel report, if you use Automation. See my introductory article about Excel Automation.
>
>>hi all,
>>
>>any way to convert myreport to excel sheet ,
>>as
>>report form myreport to excel sheet, or replace all created fileds at my report to new temporary table or cursor, and change it to excle sheet via
>>
>>ex..
>>report form myreport to (newtable or cursor)
>>**********
>>use (newtable or cursore)
>>gcDelimName = ALIAS( ) + '.xls'
>>gcDelimFile = PUTFILE('excel_file:', gcDelimName, 'xls')
>>IF EMPTY(gcDelimFile)
>>   CANCEL
>>ENDIF
>>COPY TO (gcDelimFile) XL5
>>
>>thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform