Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002
    Location
    Essex,UK
    Posts
    6

    Unanswered: Subform "on enter" problem

    I want to be able to open a new form when clicking on a subform.
    I've coded the "on enter" event to docmd.openform"fornmane" and this works ok.
    However when I close the newly openned form I want to be able to do the same again, but it will not work until that subform loses focus by me moving to a different control and then coming back again.
    I've tried using the sendkeys property to pass a HOME but I can't seem to get it to work.

    Any Ideas ?

  2. #2
    Join Date
    Sep 2002
    Location
    Essex,UK
    Posts
    6
    Managed to solve it.

    created a new macro with gotocontrol<non subform control> and then openform<formname>

    Called this from the "on enter" event of the subform

Posting Permissions

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