A2010 Zoom % error "Isn't available now"

When I try to use the acCmdZoom150 in A2010, I get an "Isn't available now" error.  I get the same error when I try acCmdFitToWindow.  Is this a missing reference or something else?

I'm converting from A2003 to A2010.

Judith
JudithARyanTech SupportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Are you doing this in a Report or elsewhere ?

I think those commands only apply to Reports ... or possible the Print Preview of a Form.
0
Jeffrey CoachmanMIS LiasonCommented:
^Agree with above, ...also, please be specific when you say:
"I try to use the acCmdZoom150 in A2010"
Use for what object?
Use it on what event?
...and please post the full code, perhaps you have the syntax wrong.

JeffCoachman
0
JudithARyanTech SupportAuthor Commented:
I'm doing this in the OnClick event for a memo field in a form.   In A2003, I used acCmdZoomBox, but I would like to make the zoom area larger for easier typing and reading.

Judith
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

JudithARyanTech SupportAuthor Commented:
The event code is just one line:

DoCmd.RunCommand acCmdZoom150
0
Jeffrey CoachmanMIS LiasonCommented:
Then the Object Zoom command is not what you want.


try code like this, it works fine for me on a button in a form:

Me.YourMemoControl.SetFocus
DoCmd.RunCommand acCmdZoomBox
0
Jeffrey CoachmanMIS LiasonCommented:
In other words, acCmdZoom150 will zoom "Objects (reports mostly), ...not controls.

Then best you can do is to create a separate popup form to zoom the memo field.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Won't work in a Text Box ...
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
You can only use the Zoom Box in a Text box :-(
0
Jeffrey CoachmanMIS LiasonCommented:
Like so:
Database54.accdb
0
JudithARyanTech SupportAuthor Commented:
I setting the Solution to A, even thought you guys didn't give me good news.  At least I know where I stand in this situation.

Thanks,  Judith
0
Jeffrey CoachmanMIS LiasonCommented:
My last post was a technique to do this...
http://www.experts-exchange.com/questions/28693671/A2010-Zoom-error-Isn%27t-available-now.html#a40860191
...did you investigate it?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.