Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    NJ, USA
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Collapsing a form (AccessXP)

    I have a form that I have a button to expand the form to display a listing of doctors. On the expanded side of the form I have a button to collapse the form. It works like it should in that the form just displays what was originally shown prior to expanding. My problem is that I created an accelerator key so the user could press Alt+P to collapse the form back. If you use Alt+P the form collapses but shows the wrong material. It shows the material that was displayed after the form expanded not what was originally displayed when the form was opened.

    Is there any fix for this. Thank you for your time and help.

    Fay

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

    Re: Collapsing a form (AccessXP)

    Try setting the focus to a control in the original material at the end of the event procedure that collapses the form.

  3. #3
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    NJ, USA
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Collapsing a form (AccessXP)

    Bless you Hans. It worked like a champ. Thanks Fay

Posting Permissions

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