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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Printing

Status
Not open for further replies.

SQLSister

Programmer
Jun 18, 2002
7,292
US
Ok this one just makes no sense whatsoever. I have an application written orginally in Access 97 and converted to access 200. Currently it runs on machines which run Access 200 and access 2003. ONe of our employees has a new computer and they installed Access 2002 on it. The rest of the application works fine, but it will not print reports. The error message says, "There was a problem retreiving printoer information for this object. The object may have nbeen sent to a printer that is unavailable." Microsoft says this is a preoblem with the printer driver or network, yet the user cna print in any other program and can even print forms from Access, just not reports. I cannot even open a report in design mode or print preview on this machine. He's using a shared network printer and the same driver that worked when he had a machine with Access 2000 and that works for every other machine in the building.

The code to preview the report is as follows (although I can't run a report directly either, so I doubt it is the code):
Code:
DoCmd.OpenReport stDocName, acPreview

Any ideas what to try to get it to print?

Questions about posting. See faq183-874
 
SQLSister
As you suggest, the DoCmd expression is correct, so it's not that.

This is just a shot in the dark, but have you checked whether or not Name AutoCorrect is turned on. If so, you might try turning it off. That feature can cause problems with a number of things.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top