hey, again..
I need a little assistance
I have a table 'tblWorksOrders' - it is a data entry table which holds the records of our company's production.
Each PurchaceOrder recieved (Stock for use on works orders) is designated to a customer and the relevant information is entered.
When it comes to production, the user is prompted to choose the customer from a drop down. Once the customer is selected i then ask for a confirmation of the Customer's reference number or POID.
For ease of use, i dont want the POID drop down list to contain all PO's for all Customers but just the customer which has been previously selected in the field above.
MY current query is;
but just groups by sustomer. What i have tried to do is make the selection only show the files where the CustomerID of the PO matches the CustomerID chosen above in the forn.
If you can see my error or have any suggestions please give them?
EDIT the above code was my attempt to run through a query, rather than a table. neither i have managed to achive the desired result. I have tried basic
I need a little assistance
I have a table 'tblWorksOrders' - it is a data entry table which holds the records of our company's production.
Each PurchaceOrder recieved (Stock for use on works orders) is designated to a customer and the relevant information is entered.
When it comes to production, the user is prompted to choose the customer from a drop down. Once the customer is selected i then ask for a confirmation of the Customer's reference number or POID.
For ease of use, i dont want the POID drop down list to contain all PO's for all Customers but just the customer which has been previously selected in the field above.
MY current query is;
Code:
SELECT qryPObyID.SupplierID, qryPObyID.POID, qryPObyID.StockCode, qryPObyID.SupplierRef, tblWO.Customer FROM tblWO INNER JOIN (qryPObyID INNER JOIN tblPO ON qryPObyID.POID=tblPO.POID) ON tblWO.Customer=tblPO.SupplierID WHERE (((qryPObyID.SupplierID)=tblWO.Customer));
but just groups by sustomer. What i have tried to do is make the selection only show the files where the CustomerID of the PO matches the CustomerID chosen above in the forn.
If you can see my error or have any suggestions please give them?
EDIT the above code was my attempt to run through a query, rather than a table. neither i have managed to achive the desired result. I have tried basic
Code:
[tblWO].[CustomerID] = [tblPO].[CustomerID]
Last edited: