I am calling access from Visual Basic. If I run
DoCmd.OpenReport ReportName:="Report Name" then the report prints fine.
But, if I run
DoCmd.OpenReport ReporName:="Report Name",View:=Access.acPreview
then nothing seems to happen. There is no report opened in Prevew Mode.
If I bring up Access and bypass the Visual Basic front end, I can run the report by clicking on the report name and it comes up in preview mode.
Any ideas?
Thanks,
Michael.
DoCmd.OpenReport ReportName:="Report Name" then the report prints fine.
But, if I run
DoCmd.OpenReport ReporName:="Report Name",View:=Access.acPreview
then nothing seems to happen. There is no report opened in Prevew Mode.
If I bring up Access and bypass the Visual Basic front end, I can run the report by clicking on the report name and it comes up in preview mode.
Any ideas?
Thanks,
Michael.