Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox 5.0 print preview then prompt
Message
De
23/11/1999 12:13:15
 
 
À
23/11/1999 08:28:06
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00293691
Message ID:
00294398
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform