Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print dialog
Message
 
 
À
10/04/2007 15:45:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Divers
Thread ID:
01214125
Message ID:
01235427
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform