Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fox 5.0 print preview then prompt
Message
From
23/11/1999 12:13:15
 
 
To
23/11/1999 08:28:06
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00293691
Message ID:
00294398
Views:
24
>I wish it was just that simple! I would like the same function but in VFP6. However, if I try to add the word prompt to "report form myreport preview" I get a syntax error.
>
>My work around on this was to create a basic form, that in my case allows the user to set certain criteria for the report with an OK and Exit button. The user specifies report contents criteria, cliks OK, and the report is previewed to the screen. The user previews the report then closes the report and I have a message "Do you want to print the Report that you just previewed" Yes/No, If the user selects yes, the command "Report form &myreport &myselection to printer prompt noconsole" is issued and the prompt screen appears allowing the user to specify print conditions.
>
>This is only a work around. I would much prefer the Print Icon on the Print Preview toolbar to bring up the Printer Prompt.

OK, I just checked the syntax for VFP5/VFP6. It's:

REPORT FORM myreport TO PRINTER PROMPT PREVIEW

Our command was built up with macros and was a little hard to decipher, sorry about that.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform