Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview and prompt
Message
De
16/05/2005 17:29:57
 
 
À
16/05/2005 17:23:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01014688
Message ID:
01014691
Vues:
18
Not sure if this will works (never used it till now)
report form myreport object loReportListener nowait TO PRINTER PROMPT PREVIEW
>I usually execute my reports with a command similar to
>
>
>report form myreport to printer prompt preview noconsole
>
>
>This give the user a chance to verify what he is going to print and also to print only certain pages if he doesn't want the entire report.
>
>Using the new report engine and executing a command sequence like
>
>
>set reportbehavior 90
>set classlib to MyReportListeners additive
>do (_reportpreview) with loPreviewContainer
>loPreviewContainer.ToolBarIsVisible = .t.
>loReportListener = newobject 'MyReportListener_Directives', 'MyReportListener
>
>loReportListener.ListenerType = 1	&&Preview
>loReportListener.PreviewContainer = loPreviewContainer
>
>report form myreport object loReportListener nowait
>
>
>produces a nice preview but loses the prompt when the user clicks the print button. Is there a way to get both a preview and a prompt?
>
>Thanks
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