Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count copies
Message
From
07/01/2003 11:46:18
 
 
To
07/01/2003 10:28:33
Norman Avila
Universal Computadora Guatemala, S.A.
Guatemala, Guatemala
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00738787
Message ID:
00738842
Views:
22
Norman,

When the user presses the print button, you can execute code similar to the following. You simply put the field lcCopy on the report where you want it to print. You can have another button that calls a print preview, you need to set lcCopy to some value (such as "Preview") there also.
* set printer to name ...
lcCopy = "Original"
report form invoice to print noconsole
lcCopy = "Copy 1"
report form invoice to print noconsole
lcCopy = "Copy 2"
report form invoice to print noconsole
>Hi all, I need to control the amount of copies printer for an invoice, but have not figured this out. I have a normal report to print an invoice, the first time I print it It should tell its original, the second time "copy 1" the third "copy 2" etc.
>
>The source of the report is a SQL query that joins master and detail of the invoice, does anyone has done this before. What is the best approach. Note that I need to increment the index on the copy only if printed, this means that if I see the report in preview (screen) it should not affect that counting.
>
>Thanks
>
>Norman
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform