G
GeorgeMar
I can set a report's printer manually in Access 2002 in
File>PageSetup>Page>Use Specific printer.
I want to do this programmatically and I inserted the
following line in the OnOpen event of the report:
me.Printer=Application.Printers(1)
and I get the error: 2591 that the printer setting cannot
be changed in the OnOpen event.
Can anyone tell me if the line that I have used above will
do the trick and if so, where I should be placing this
line?
many thanks
george
File>PageSetup>Page>Use Specific printer.
I want to do this programmatically and I inserted the
following line in the OnOpen event of the report:
me.Printer=Application.Printers(1)
and I get the error: 2591 that the printer setting cannot
be changed in the OnOpen event.
Can anyone tell me if the line that I have used above will
do the trick and if so, where I should be placing this
line?
many thanks
george