Hello everyone,
This is my first time posting here and I'm hoping someone can help me out. I'm a relative newbie to Access and am pretty much learning as I go along, so please bear with me.
Here is what I am trying to do. I'm building a simple database that will allow our engineering staff to enter in the items from the inventory warehouse that will be required for a project. Each inventory item has a unique part number, which is entered by the user.
I have a query set up that pulls all of the required information together, and then there is a report based on this query.
What I am ultimately trying to do is have a command button at the end of the order form that allows the user to print the order based on the current order number in the form.
I have set up the query criteria using:
[forms]![frm_Ordered_Ite ms]![order_number]
If I have the frm_Ordered_Ite ms open by itself, and put a command button at the bottom to open the report based on the query using this criteria, it works perfectly.
The problem is that I've set up the form as a sub-form, and once it's nested into the other form, a popup button comes up and calls for the query parameter to be entered manually. How can I change this so that it will perform the query and bring up the report automatically?
I hope I've given enough information to explain the situtation clearly.
This is my first time posting here and I'm hoping someone can help me out. I'm a relative newbie to Access and am pretty much learning as I go along, so please bear with me.
Here is what I am trying to do. I'm building a simple database that will allow our engineering staff to enter in the items from the inventory warehouse that will be required for a project. Each inventory item has a unique part number, which is entered by the user.
I have a query set up that pulls all of the required information together, and then there is a report based on this query.
What I am ultimately trying to do is have a command button at the end of the order form that allows the user to print the order based on the current order number in the form.
I have set up the query criteria using:
[forms]![frm_Ordered_Ite ms]![order_number]
If I have the frm_Ordered_Ite ms open by itself, and put a command button at the bottom to open the report based on the query using this criteria, it works perfectly.
The problem is that I've set up the form as a sub-form, and once it's nested into the other form, a popup button comes up and calls for the query parameter to be entered manually. How can I change this so that it will perform the query and bring up the report automatically?
I hope I've given enough information to explain the situtation clearly.
Comment