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

Run more than one query from event procedure

Status
Not open for further replies.

Cpreston

MIS
Mar 4, 2015
972
GB
Hi

I want to run 3 querys at once at a click of a button.

A delete rows, make main table and update table query.

I am sure this is possible but could someone advise how the code should be please or point me to a good link.

Thanks

 
I have managed to get this working through the embedded macros, but how would this be achieved in event procedure.

I am sure you sued to be able to change the macro to event procedure and it created the code for you??

Thanks
 
Have a look at the DoCmd.RunSQL method.

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

Part and Inventory Search

Sponsor

Back
Top