Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printers collection in Access 2000

Status
Not open for further replies.

xezekielx

IS-IT--Management
Jun 30, 2005
93
CA
Hi! I have yet another problem... I used the Printers collection of the Application object to change the printer that Access will print to when I use DoCmd.OpenReport "rptFinal", acNormal (or something like that). The code works number 1 in Access 2002 but I just saw that the Printers collection doesn't exist in Access 2000 :'( What can I do? It's pretty important... Thanks in advance!
 
Thanks but I have another problem. I used the provided code to change the default printer but when I use this code
Code:
DoCmd.OpenReport "rptFinal", acNormal, , strWhere
after setting the correct default printer, I get an error message saying that the object couldn't be printed. Also, just before the error message pops up, it shows the small window when it says the number of pages it is currently sending to the printer as well as the name of said printer but the printer's name that's displayed isn't the correct one, it's the default printer before I changed it with the code. I hope you understand what I mean.. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top