S
Sanjay Singh
I am using Access VBA (Access 97) to preview and print reports. I am having
the following error that I hope someone can assist with.
If the user has set the report to a "specific printer" and then the printer
is later uninstalled, the VBA code (Docmd.OpenReport) gives an error and is
unable to display the report.
Even going into design mode of the report through the database window gives
an error that the printer cannot be found. Setting the printer manually to
the default printer then makes it work again.
Is there any way in making sure from VBA that the report still opens, maybe
changing its printer to the default printer.
Thanks in advance.
Sanjay Singh
the following error that I hope someone can assist with.
If the user has set the report to a "specific printer" and then the printer
is later uninstalled, the VBA code (Docmd.OpenReport) gives an error and is
unable to display the report.
Even going into design mode of the report through the database window gives
an error that the printer cannot be found. Setting the printer manually to
the default printer then makes it work again.
Is there any way in making sure from VBA that the report still opens, maybe
changing its printer to the default printer.
Thanks in advance.
Sanjay Singh