Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XLS in Foxypreviewer without preview
Message
From
02/11/2011 20:49:08
 
 
To
02/11/2011 17:47:52
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01527890
Message ID:
01527904
Views:
107
This message has been marked as the solution to the initial question of the thread.
Likes (1)
>I would like to generate a report in XLS format using Foxypreviewer without showing toolbar (not preview)
>I am trying this way
>
>
>DO FOXYPREVIEWER.APP
> _Screen.oFoxyPreviewer.lSaveAsXLS = .T.
> _Screen.oFoxyPreviewer.lDirectPrint = .T.
> _Screen.oFoxyPreviewer.cDestFile = m.nmplanilha
>REPORT FORM myreport
>
>
>But the XLS file is not generated
>
>Is there way to do this?

Olá Carlos

Try this way:
DO FOXYPREVIEWER.APP
REPORT FORM TeuReport OBJECT TYPE 13 TO FILE (m.nPlanilha)
This is all documented in FoxyPreviewer.
Make sure to use the latest version, because many new enhancements have been added in the XLS output recently.
There is a sample in the main folder, called "MakeXLS". You may find it helpful to look at it as well

Abraço

César
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform