Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zoom to 75% on a report - error

Status
Not open for further replies.

1ooo1

Technical User
Jan 20, 2003
50
AU
Hi,
I am using .....

DoCmd.OpenReport rptRen_Wait, acViewPreview
DoCmd.RunCommand acCmdZoom75

To try and zoom a report called rptRen_Wait to 75% on opening, but am getting the following error....

Run-Time error '2046'
The command or action 'Zoom75%' isn't available now.

Can anybody tell me why this is happening, or what I am doing wrong. If I use the maximise command, it works OK, but zooming seems to pose a problem.

Cindy
 
couldnt duplicate your problem.
is your report name in quotes in your code?
does accmdFitToWindow work?
just scrouging for an answer......
 
Ginger,
FitToWindow, brings up the same error...

 
....And yes the report name is in quotes..
 
where do you have this code? not in the report? it should be in code of a button...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top