Yes, SYS(1037) calls the Page Setup dialog, but there is a button on that form that brings up the printer dialog. Whatever printer you select with SYS(1037) is set as the default VFP Printer, therefore, chaining reports without prompting for the printer uses the printer selected here.
Cathy
>Hi Cathy.
>
>I have read your articles on MSDN on the VFP9 Report Enhancements. You mention at the end of the second article that you should call SYS(1037) to prompt for the printer before report chaining. Doesn't this just call the Page Setup dialog and not the Printer dialog? Shouldn't this have been a call to GETPRINTER()/SET PRINTER TO? Is this part of the reason why the Printer icon on the report preview toolbar does nothing when you click it when previewing a chained report?
>
>(Update: I see that you can pick the printer from the Page Setup so I see how the call to SYS(1037) will work)
>
>TIA
>
>-Dan