OpenReport acViewNormal in ART 2002 displays error 2212

N

Nathan Campbell

I have an Access 2002 ADP/ADE that is connected to a SQL Server 2000. Many
forms have a command button that prints a report specific to that form. For
example:

DoCmd.OpenReport ReportName:="rptItmLbl", View:=acViewNormal

The code works fine when run in the full version of Access 2002 (with or
without the /runtime switch). However, when run in the Access 2002 Runtime
version, Microsoft Access Error 2212 ("Access couldn't print your object")
is displayed. When I change the code to the following, the report is
correctly displayed in preview mode. The report can then be successfully
printed by selecting Print from the File menu.

DoCmd.OpenReport ReportName:="rptItmLbl", View:=acViewPreview

Any suggestions would be appreciated. Thanks.

Nathan Campbell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top