Results 1 to 6 of 6

Need to know what Event to use?

  1. #1
    MadTom's Avatar
    MadTom is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT and VT
    Posts
    96

    Need to know what Event to use?

    I have a Search form that finds a record and when I return to the main form I need to run a Sub to update some list boxes. Tried many Events and can't get it to work. I know the Sub works because I can use a test button to run Sub.
    Thanks,
    Tom

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    19,951
    How about the activate event of the form, or the close event of the search form?
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

  3. #3
    MadTom's Avatar
    MadTom is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT and VT
    Posts
    96
    Can I run a Sub for the Main form on a close of the Search form? I did try
    activate event.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    19,951
    You should be able to if you make it public.
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

  5. #5
    MadTom's Avatar
    MadTom is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT and VT
    Posts
    96
    Ok, that makes sense! Thanks!

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    19,951
    No problem, post back if you get stuck.
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

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

Similar Threads

  1. Key Press Event and/or Key Up Event not firing as expected
    By GraeagleBill in forum Programming
    Replies: 7
    Last Post: 01-16-2018, 04:11 AM
  2. Replies: 2
    Last Post: 10-09-2016, 05:41 PM
  3. Replies: 7
    Last Post: 05-08-2014, 10:34 AM
  4. Replies: 1
    Last Post: 03-29-2014, 07:46 PM
  5. Replies: 3
    Last Post: 05-07-2012, 12:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Tech Forums: Microsoft Office Forums