Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to pre-set number of copies in print dialog?
Message
 
To
18/12/2006 14:37:02
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01178657
Message ID:
01178665
Views:
15
>Hi Y'all,
>
>Is there any way to "pre-load" the print dialog screen that comes up when "PROMPT" is used with REPORT FORM?
>
>This would be nice because for a certain common set of printouts, the users have an "options" screen (VFP form) that comes up and allows them to specify whether they want the report printed, or to a PDF file etc and one of the options on the screen is "copies". And then there is a "Preview" button and when they fire this, if they press the print button on the preview toolbar they expect that the number of copies on that dialog be the same as the original form. So somehow I have to pass forward the number of copies. Not sure if this would be through some settings on the preview container/toolbar or windows functions.
>
>TIA,
>
>Albert Gostick

Open report with report designer, Choose File->Page Setup and choose Printer. There you can set number of coopies you want to be showed by default. Other way:
Open report as a table. Go to first record and edit Expr field. Change the row COPIES=1 to COPIES=2 or whatever number you want. Make a good backup first. If you want to set these numbers withing the application this is the only way (Hacking the report)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform