Results 1 to 6 of 6
  1. #1
    Gina Maylone is offline Always learning
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Afton, MN
    Posts
    544

    the command or action zoom 100% isn't available now

    Good morning!

    My database contains several note fields, that can get quite long, they are long text, usually I add
    Code:
    Docmd.runcommand accmdzoom100%
    to the double click event. But in this db I continue to get the error: the command or action zoom 100% isn't available now. I've read some posts, none of which actually solve the problem. Is this a palm to forehead issue? Or something deeper and more sinister?

    TIA. Have an awesome day!

  2. #2
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    when you say fields do you mean text boxes on a form?

  3. #3
    Gina Maylone is offline Always learning
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Afton, MN
    Posts
    544
    Quote Originally Posted by Homegrownandy View Post
    when you say fields do you mean text boxes on a form?
    Yes, exactly.

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Hi Gina,

    I'm not sure how you are using the command, but I tried setting the double click event on a text box and got the same error as you did.
    I looked in HELP under "AcCommand Enumeration" and found "acCmdZoom100", but not "acCmdZoom100%". (still have the same error).

    I tried "DoCmd.RunCommand acCmdZoomBox" and the zoombox appeared with the text.
    Not sure if this will help, try deleting the % sign......

  5. #5
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Quote Originally Posted by Gina Maylone View Post
    Good morning!

    My database contains several note fields, that can get quite long, they are long text, usually I add
    Code:
    Docmd.runcommand accmdzoom100%
    to the double click event. But in this db I continue to get the error: the command or action zoom 100% isn't available now. I've read some posts, none of which actually solve the problem. Is this a palm to forehead issue? Or something deeper and more sinister?

    TIA. Have an awesome day!
    What you are using is for zooming a report not a text box control on a form.

    Try:

    Code:
    RunCommand acCmdZoomBox

  6. #6
    Gina Maylone is offline Always learning
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Afton, MN
    Posts
    544
    Actually there really isn't a % sign, just DoCmd.RunCommand acCmdZoom100. I guess I'll just change it to zoom box. Thanks Steve! Hope all is well!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 11
    Last Post: 11-30-2015, 01:06 PM
  2. Replies: 1
    Last Post: 02-13-2012, 10:43 AM
  3. Changing Action on a Command Button
    By ETCallHome in forum Forms
    Replies: 5
    Last Post: 03-14-2011, 05:53 AM
  4. command or action " isn't available
    By laqsb in forum Access
    Replies: 3
    Last Post: 07-23-2010, 10:29 AM
  5. The command or action Quit isn't available
    By Macallan60 in forum Access
    Replies: 0
    Last Post: 04-26-2010, 09:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums