Hi everyone.
I have the following code:
rptActiveReport is a Report variable that refers to an open report
The code is supposed to print the report and it does. However, after printing the report opens in Design view.
Tried the same code in Access 2003 and 2007 and it works great.
Anyone knows a fix for it? (I found a workaround, but I don't like it, so I won't post it).
Thank you in advance,
Daniel Vlas
Systems Consultant
I have the following code:
Code:
strReportName = rptActiveReport.Name
DoCmd.OpenReport strReportName, acViewNormal
rptActiveReport is a Report variable that refers to an open report
The code is supposed to print the report and it does. However, after printing the report opens in Design view.
Tried the same code in Access 2003 and 2007 and it works great.
Anyone knows a fix for it? (I found a workaround, but I don't like it, so I won't post it).
Thank you in advance,
Daniel Vlas
Systems Consultant