Link to home
Start Free TrialLog in
Avatar of baabaa_nl
baabaa_nlFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Difference between acViewPreview and acViewReport

Hi Experts,

In Access VBA there are two commands used for the reports.

acViewPreview and acViewReport, could you please give the difference between both the commands.

Thanks in advance.
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Preview opens the Report in print preview mode, so you can view it before sending to Printer.

ViewReport  goes directly to Default (or specified) printer.
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yep ... you are right ... I was thinking Normal ...
I also find the in ReportView (acViewReport) lots of events don't fire the same as in Print Preview.  

For some reports, I have to make two versions. One that works correctly in Report View. Another that works correctly in Print Preview.
baabaa_nl
Please hit the Request Attention button and select mbizup's answer, since mine incorrect.  It's just one of those day, sorry.

mx
Avatar of baabaa_nl

ASKER

Thank you DatabaseMX,

It was very kind of you to support the answer.

Thank you Moderator (ModCorlEEone)


baabaa_nl