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
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