Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A couple of Questions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095752
Message ID:
00095757
Views:
16
>I have a couple of questions.
>
>I have a VFP 5.0 application that is distributed as an EXE, I have hidden the main FoxPro screen by including SCREEN=OFF in the config file.
>
>1
>I want to allow the user to preview reports from within this application, the VFP help files state that you can use the following:
>REPORT FORM repname PREVIEW WINDOW windowname / formname.
>
>However I can not seem to get the preview in a form, I can only get it working if I set the main FoxPro screen back on.

Dennis, actually you can use approach when you set _screen.visible = .t. before REPORT... PREVIEW, and then set it to .f. again

>2
>In the same application I want to allow users to Export data to Excel files, How do I invoke the built in Export facility, I have tried making a shortcut with the Menu/Shortcut builder, however when the shortcut pops up the Export option is dulled out, any ideas ?

Don't quite understand why you do this, but why not to use just
COPY TO myExcelFile.xls type XLS

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform