I'm trying to create a query that will run a report of the current form. I've got it to run the current form, but that form is based off of multiple tables. The form has pk of WorkOrderID, with fk of CustomerID, FieldID (this is a location, think farming, fields with crops), and ProductID. My form is setup nicely so that you can choose a customer, field, or product from a combo box. When you click the drop down of the combo box it displays the customers first and last name, but the combo box is based off of fk CustomerID only. So when I put the query together to make the report, the report only shows the CustomerID (autonumber) instead of the first and last name of the customer. Same with field. Instead of showing the four parts that make up a fields legal unique locations (1/4, section, township, range) it only shows the first part. In my report I need it to give all the info. This also goes for the product.
I tried to add FirstName and LastName from my CustomerT table into the query and put in criteria based off of CustomerID from the form but I'm definitely not doing it right. I tried "WHERE [WODetsQ1].[CustomerID]"=[CustomerT].[CustomerID], but then what?
I also need to get all of the EPA info for each product on a work order to be in the report. All this info is in the ProductT table. It's a lot of info for each one, should I put that in a sub report? How do I link it to the work order?
Any suggestions? I can post more details or include my db to look at. This is the last piece of the puzzle for my first database and I'm dying to get it done, but this is a little over my head. Any help is appreciated. Thanks.