Hi Dan.
>I'm successfully chaining a group of reports together using the following code:
>
>
>loListener = CREATEOBJECT('_ReportListener')
>loListener.ListenerType = 1
>loListener.AddReport('REPORT1.FRX', 'nopageeject')
>loListener.AddReport('REPORT2.FRX', 'nopageeject')
>loListener.AddReport('REPORT3.FRX', 'nopageeject')
>loListener.AddReport('REPORT4.FRX')
>loListener.RunReports()
>
>
>I would like to have the user get the printer prompt when printing using this method from the preview toolbar. It does prompt if I just run a single report using this method. Is there a way to force the printer prompt on chained reports?
Change the last AddReport statement to:
loListener.AddReport('REPORT4.FRX', 'TO PRINTER PROMPT PREVIEW')
Doug