Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Jan 2002
    Posts
    1,615
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi,

    The form in the database that loads on startup is set to maximize. This works fine. I need to know how to keep other forms in the database from automatically being maximized when they load. The form size is set to Width=2.5417".

    I tried the various accmdrun........sizing commends but couldn't get it to work. I also tried 'me.Width = 2.5417" but got syntax error.

    What am I missing?


    Thanks!
    Leesha

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    You could execute

    DoCmd.Restore

    in the On Open or On Load event procedure of the forms. Alternatively, execute

    RunCommand acCmdRestore

  3. #3
    Silver Lounger
    Join Date
    Jan 2002
    Posts
    1,615
    Thanks
    0
    Thanked 1 Time in 1 Post
    Wow, who ever would've thought of "restore". Anyway, that does the trick for that form but now what happens is all the forms restore. Basically I want this form to be like a popup window. All other forms should stay maximized except this form.

    Leesha

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Set the Popup property of that form to Yes. It'll be displayed non-maximized without needing code while other forms can remain maximized.

  5. #5
    Silver Lounger
    Join Date
    Jan 2002
    Posts
    1,615
    Thanks
    0
    Thanked 1 Time in 1 Post
    Gotta love the little things in life! That was perfect.

    Thanks!
    Leesha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •