monkeymagic2222
Technical User
I've been tasked with modifying someones Access 2003 database.
I have a form with a bunch of comboboxes and a button that launches a query through its onclick event procedure. I can run this and pass the selected form values to the query without any problems. What I need to do is catch a couple of the selected form values, modify them depending on certain conditions and then pass the modified values to the query.
I've figured out how to grab and modify the selected form values in the onclick event but how do I then pass these to the query so that the query is taking it's parameters from both the form and the code?
Hope that makes sense!
I have a form with a bunch of comboboxes and a button that launches a query through its onclick event procedure. I can run this and pass the selected form values to the query without any problems. What I need to do is catch a couple of the selected form values, modify them depending on certain conditions and then pass the modified values to the query.
I've figured out how to grab and modify the selected form values in the onclick event but how do I then pass these to the query so that the query is taking it's parameters from both the form and the code?
Hope that makes sense!