Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    Apr 2001
    Location
    Guatemala City
    Posts
    515
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AfterUpdate event (Off 2003 Win XP)

    I am editing records in a form. When I save a record using the icon of a diskette on the tool bar, or using the Save command under Files, the AfterUpdate event doesn't function. It does function when I move from record to record or when I save using a command button created by the Wizard ( DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70). Am I mistaken in thinking that this event should fire whenever I save a record by any way or means?

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: AfterUpdate event (Off 2003 Win XP)

    The save button and the File / Save menu is for saving the form. Not the record.
    There is no button to explicit save a record.
    If you want to use the menu, use Record / Save Record.
    Francois

  3. #3
    4 Star Lounger
    Join Date
    Apr 2001
    Location
    Guatemala City
    Posts
    515
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: AfterUpdate event (Off 2003 Win XP)

    Maybe it is not the AfterUpdate event that is giving me problems. When I save with the Files/Save command or the icon on the toolbar, the record is not being saved. The pencil icon on the form is still intact, which indicates to me that the record has not been saved. In consequence, the AfterUpdate event doesn't fire. Now the question is "Why isn't the record saved when I click the Files/Save command?"

  4. #4
    4 Star Lounger
    Join Date
    Apr 2001
    Location
    Guatemala City
    Posts
    515
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: AfterUpdate event (Off 2003 Win XP)

    Thank you. You are right.

Posting Permissions

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