Form Events

D

David C. Holley

Could someone please refresh my memory as to the sequence that the
follwoing events are fired when a new record is added?

AfterInsert
AfterUpdate

David H
 
K

Karl E. Peterson

David said:
Could someone please refresh my memory as to the sequence that the
follwoing events are fired when a new record is added?

AfterInsert
AfterUpdate

The easiest way (certainly quicker than posting here!) to determine event order is
with Debug.Print statements. Give it a try.
 
D

Dian Chapman, MVP, MOS

D

David C. Holley

Actually, I went stricktly with the afterUpdate event. I'm implementing
code that automatically creates & updates Outlook appointments. The
initial idea was to use createOutlookAppointment() on AfterInsert
function and then use updateOutlookAppointment() on AfterUpdate. I'm now
testing if the Appointment has been created and calling the appropriate
function. createOutlookAppointment() captures the EntryId and stores it
in the Access DB for use by updateOutlookAppointment() so if the EntryId
doesn't exist, we need to create the appointment.

David H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top