Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview and prompt
Message
From
16/05/2005 17:29:57
 
 
To
16/05/2005 17:23:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01014688
Message ID:
01014691
Views:
17
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform