Results 1 to 4 of 4
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using Custom Menus to Navigate Forms? (A2k (9.0.3821) SR-1)

    I have 3 Forms, Form1, Form2 and Form3 that I can open from a custom menu.

    If I open Form1 (Form1 gets the focus) than open Form2 (Form2 gets the focus) then open Form3 (Form3 get the focus)

    From Form3, when I select Form1 or Form2 nothing happens, Form3 keeps the focus.

    The only way I can get back to Form1 or Form2 is to close Form3

    The menu allows me to bounce back and forth from Form1 and Form2 OK

    What am I doing wrong?

    Thanks, John

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Using Custom Menus to Navigate Forms? (A2k (9.0.3821) SR-1)

    Is form3 a dialog or being opened with the modal property set to yes? If so, you can't switch the focus to another form until you hide or close that one.
    Charlotte

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Using Custom Menus to Navigate Forms? (A2k (9.0.3821) SR-1)

    Hi Charlotte

    Form1 and Form3 modal was set to yes, changed Form3 to no and I can cycle through forms OK

    I can't remember why I set either of these forms to modal=yes

    They are both major forms for add, chg, del, lookup, etc.

    From what I understand modal form should be used to guide the user in the direction you want to take them with options, acknowledgements, etc.

    Thanks, John

  4. #4
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Using Custom Menus to Navigate Forms? (A2k (9.0.3821) SR-1)

    You use modal when you want the focus to stay on that form so that the user can't "park" the form and start doing something else. It controls program flow. They have to deal with that form and close (or hide) it before they're allowed to do something else. Access only allows one visible modal form at a time. However, you should have had the same problem with Form1 unless the menu you were using hid form1 when it launched form2, etc.
    Charlotte

Posting Permissions

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