>Hi everybody,
>
>I'm using this code REPORT FORM oRegistry.ReportDir + "ShopInvoice" OBJECT loListener TO PRINTER PROMPT PREVIEW and then try to print several other reports using the same code.
>
>Is it possible to print all the reports to the same printer chosen by the first statement and don't preview the rest of the reports? Also, if the first report was cancelled, cancel the rest of the reports?
>
>Thanks in advance.
For the code you use
REPORT FORM oRegistry.ReportDir + "ShopInvoice" OBJECT loListener TO PRINTER PROMPT PREVIEW
im sure you used something like
loListener = createobject('X')
or
loListener =createobject('X', ;
home() + 'ffc\_ReportListener.vcx')
Is 'X' Supposed to be a class?