docmd.OpenReport "name of report",acViewPreview
docmd.Maxmimize
DoCmd.RunCommand acCmdZoom75
I don't think there is a zoom80, but 75 should be close...
Note that you can put the docmd.Maximize in the reports on-open event (all
mine do that), the zoom command has to be executed *after* the report loads,
and thus needs to follow the openreport command in code as above...
do you have any prompts in your sql code (parameters), or perhaps some type
of message box?
the report's on open event code HAS TO FINISH. Actually, likely it means the
report needs to have finished being rendered before you execute the
DoCmd.RunCommand acCmdZoom75
Post your 2-3 lines of code you using to open the report.
I suspect if you have any type of dialog prompts, or parameters, then you
need to change your approach...
Do you mean you want two columns of data? You have to "ensure" your layout
is LESS then 1/2 the available space, and then in page setup, you see the
options for specifying the number of rows for your data.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.