Results 1 to 3 of 3
  1. #1
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    670

    Different Events


    When you open Access and hit alt+F11 to open the VBA Editor, how do you know if the code that you are reading is for the form, or for a "click" procedure?

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    check the procedure name, Acces creates easy to understand names by default.
    e.g. procedure Command1_click is for the click event of command button "command1", Form_load is the event when the form is loading.

  3. #3
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    670
    Something obvious, like I thought. And of course I see it now that you point it out. Thanks!

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

Similar Threads

  1. Events Confusion?
    By homerj56 in forum Programming
    Replies: 5
    Last Post: 10-27-2010, 01:45 PM
  2. Form_Load Events
    By TheDeceived in forum Programming
    Replies: 1
    Last Post: 09-20-2010, 12:19 PM
  3. Combining events
    By daddylongtoe in forum Access
    Replies: 4
    Last Post: 06-25-2010, 02:55 AM
  4. form events
    By EinSpringfielder in forum Programming
    Replies: 1
    Last Post: 08-26-2009, 11:01 AM
  5. Events Report, please help!
    By Suzan in forum Reports
    Replies: 3
    Last Post: 04-19-2006, 01:11 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
  •  
Other Forums: Microsoft Office Forums