Results 1 to 3 of 3
  1. #1
    Helen's Avatar
    Helen is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2009
    Location
    The Hill, Australia
    Posts
    28

    Difference between load and open

    I'm not exactly sure what kinds of things to put in these two procedures.

    What kinds of things should go into LOAD, and what into OPEN?

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi, a form, the following events occur in this order:

    Opening a form triggers first the open event, then the load event when the data are shown, then the activate event is triggered and then the first record becomes the current record and triggers the OnCurrent event
    The open event can be canceled, the load can't
    So if you want to cancel the opening of the form when no records available, you'll have to use the onOpen.

    hope this helps a bit

    NG

  3. #3
    Helen's Avatar
    Helen is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2009
    Location
    The Hill, Australia
    Posts
    28
    Noella - thanks, yes it does help.

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

Similar Threads

  1. Count difference between two dates
    By Costa in forum Forms
    Replies: 3
    Last Post: 03-09-2010, 10:38 AM
  2. Difference between 2 identical tables.
    By leepan2008 in forum Access
    Replies: 1
    Last Post: 09-28-2009, 07:36 PM
  3. difference between drivers
    By tomc1 in forum Access
    Replies: 0
    Last Post: 08-04-2009, 10:41 AM
  4. Time difference
    By jguidry in forum Programming
    Replies: 1
    Last Post: 11-15-2008, 12:41 PM
  5. Replies: 1
    Last Post: 11-08-2008, 10:40 AM

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