Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print dialog
Message
 
 
To
10/04/2007 15:45:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01214125
Message ID:
01235427
Views:
17
>I am using the print dialog when printing VFP reports (report form... to printer PROMPT). I find it very easy to use (basic functionality included without additional programming, like page range, and printer selection), but now I have a problem.
>
>Accounting asks me to print only one "original" of a certain report; additional copies must be marked as "copy". Now, when using the printer dialog, if the user cancels, the record is still marked as "copy". Is there a way to figure out whether the user has pressed "Cancel"?
>
>I know that there are additional problems; for instance, the printer may have been off, and the user deletes the print job from the queue. How are these situations commonly handled? Should I just ask the user whether printing was successful?
>
>TIA,
>
>Hilmar.

Hi Hilmar,

Using PROMPT option how would you save user's selection to apply them for the COPY? It looks like PROMPT option only does it somehow internally for the current report it was used for.

The SYS(1037) seems to be an analogue for the PROMPT except that I don't see a way to figure out, if this dialog was cancelled.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform