Oct 28, 2003 #1 Nick34 Technical User Oct 16, 2003 50 US Are there any ways to add VBA code to a query event? For instance, when I open the query, run the code.
Are there any ways to add VBA code to a query event? For instance, when I open the query, run the code.
Oct 28, 2003 #2 seaport MIS Jan 5, 2000 923 US You may put a VBA function in the query. Then this function runs every time you run the query. for example, *** select customername, FireTheEvent() from tblCustomers *** seaport Upvote 0 Downvote
You may put a VBA function in the query. Then this function runs every time you run the query. for example, *** select customername, FireTheEvent() from tblCustomers *** seaport
Oct 28, 2003 Thread starter #3 Nick34 Technical User Oct 16, 2003 50 US Ok. I want this function, Unit130Day(), to run when I open the query. So where do I tell the query to do this? Upvote 0 Downvote
Ok. I want this function, Unit130Day(), to run when I open the query. So where do I tell the query to do this?