Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513

    open form in a NOT maximzed view


    this one I ought to know, but it seems to be a constant and recurring issue...
    I simply want to open a form in it's designed size; not across the entire screen !

    so this in my code:

    DoCmd.OpenForm "frmContactInfo", acNormal, , "[Manufacturer] = '" & Me.Manufacturer & "'"

    BAM! full screen!
    aurghhh

    many thanks in advance,
    Mark

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Check out Docmd.Restore, Docmd.MoveSize, DoCmd.Maximize, DoCmd.Minimize.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Versions 2007/2010/2013 has a new option called Document Window Options, and it defaults to 'Tabbed Documents,' which means that all Forms open Maximized, regardless of their designed size. To make them behave as they did in Version 2003 and earlier

    [list=1]
    [*]Go to Office Button (Big Icon, Top/Left)[*]Click on Access Options (bottom, right of Dialog Box)[*]Click on Current Database[*]Under Document Window Options tick Overlapping Windows[*]Click on OK (Bottom, Right)

    With this Option chosen, the Form will display, as designed, unless it is opened from another Form that was Maximized. If that is the case, DoCmd.Restore will, indeed, bring it down to its designed size.

    Linq ;0)>

  4. #4
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513
    DoCmd.Restore <-- exactly !! thanks

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

Similar Threads

  1. Replies: 8
    Last Post: 06-25-2014, 08:03 AM
  2. Replies: 8
    Last Post: 04-29-2013, 11:23 AM
  3. Replies: 3
    Last Post: 02-23-2012, 04:48 PM
  4. Replies: 0
    Last Post: 11-30-2011, 02:01 PM
  5. Form will not open View or Design
    By aldeb47 in forum Forms
    Replies: 2
    Last Post: 06-15-2011, 07:03 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