Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx to xls
Message
From
21/03/2005 13:57:29
Rob See
Wade-Courville-See Consulting, Inc.
Columbus, Georgia, United States
 
 
To
02/03/2005 04:27:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00991873
Message ID:
00997914
Views:
11
you can put code in the report dataenvironment.init such as

sele * to cursor tmp
copy tmp to filename.xls type xl8
if reportoutput=".xls"
return .f.
endif

(reportoutput could be a global variable holding the user's choice to create an excel file - this would close the report without running the output preview to the normal report but still create the excel file.) I use this method for several available reports that are run from a report control center in my application.
Previous
Reply
Map
View

Click here to load this message in the networking platform