smp48
04-26-2004, 10:10 AM
I have an Access 97 database that collects data and runs a report used as a customer quote by Sales. I created a report which gets its data from a query which asks user to enter quote number (unique number used as primary key). When I select the report on Report Tab and press Print Preview button, query runs and displays report on screen.
I tried to put a command button on the form so user does not have to close form and go to Report Tab. Everything looks OK but query does not run when I click on the button. :confused:
I used wizards to create report and button on form.
I am new here and I mostly use wizards as I am self taught in Access 97 and have not yet learned about code so please be as simple as you can.
Any help is very much appreciated. Thanks in advance.
I tried to put a command button on the form so user does not have to close form and go to Report Tab. Everything looks OK but query does not run when I click on the button. :confused:
I used wizards to create report and button on form.
I am new here and I mostly use wizards as I am self taught in Access 97 and have not yet learned about code so please be as simple as you can.
Any help is very much appreciated. Thanks in advance.