J
JBParker
Guest
I have a form attatched to a query object. My switchboard has two buttons. One button will open the form to a new record. The other button needs to open the form based upon a user entered parameter.I know I need to change the recordsource of the form to either a VBA SQL statement, or to another query object. I'm having trouble with the actual code to do this. Do I need to dimension variables as strings or recordsets to do this?
What lines of code need to be run in order for me to achieve this?
What lines of code need to be run in order for me to achieve this?