C
chris1 via AccessMonster.com
I have several calculated controls on a report.
I have a command button on my form. Here is the VBA line as everyone is well
aware of:
DoCmd.OpenReport reportname:"report_name", view:=acPreview
When I view my report the calculated fields have the #Error message. When I
change the VBA line to the following (the view:=acNormal prints the report)
the calculated controls work.
DoCmd.OpenReport reportname:"report_name", view:=acNormal
Why do the calculated controls work when I print the report and not when they
are previewed. Please help and thank you for your time!
I have a command button on my form. Here is the VBA line as everyone is well
aware of:
DoCmd.OpenReport reportname:"report_name", view:=acPreview
When I view my report the calculated fields have the #Error message. When I
change the VBA line to the following (the view:=acNormal prints the report)
the calculated controls work.
DoCmd.OpenReport reportname:"report_name", view:=acNormal
Why do the calculated controls work when I print the report and not when they
are previewed. Please help and thank you for your time!