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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event on add record

Status
Not open for further replies.

melaniecarr23

Programmer
May 2, 2005
79
US
Is there a way to run a macro after a new record is added to a table?

Is there a way to select the last added record's primary key?

Melanie
 
Take a look at the AfterInsert event of the Form object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
THANK YOU! THANK YOU!!! I think I found a way to make it all work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top