Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Triggering an Event when new record is created

Status
Not open for further replies.

homeguard

IS-IT--Management
Jul 12, 2007
47
US
Hello,

I need to run a series of code when the user saves a new record. The problem is i only want this code to be run once when the user saves the record for the first time. anyone have any suggestions on how to do this?
 
Do you mean the Before and After Insert events?
 
Use a Static variable in the BeforeInsert event procedure.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top