Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report to window with Print Prompt option
Message
De
18/05/2015 02:26:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619924
Message ID:
01619927
Vues:
71
>Hi,
>
>I can't seem to find the correct syntax for previewing a report in a window such that if a user clicks on the Printer button (on Report Preview toolbar) the Printer Prompt would appear (for the user to select a printer). Here is my syntax that works:
>
>
>DEFINE WINDOW RepWindow ;
>   FROM 1, 1 TO 20, 20 ;
>   TITLE "My report title"        
>
>ZOOM Window RepWindow  Max
>
>report form report_file.frx PREVIEW WINDOW RepWindow
>
>RELEASE WINDOW RepWindow
>
>
>But I can't find where to insert PRINTER PROMPT into the above REPORT FORM command. Is it possible?
DEFINE WINDOW RepWindow ;
   FROM 1, 1 TO 20, 20 ;
   TITLE "My report title"        

ZOOM Window RepWindow  Max

report form report_file.frx TO PRINTER PROMPT PREVIEW WINDOW RepWindow

RELEASE WINDOW RepWindow
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform