Help, I am new here and still trying to wrap my head around Access 2010.
I am trying to display information on a subform that I can print. I would like to convert this into a report later.
I have the main form working fine with one record source table [Sales Report], and the subform shows all records for each purchase order related to the specific job number in a long list of each item per purchase order.
The subform is using a query to get records from 3 tables [Inventory Transactions], [Suppliers] and [Purchase Orders].
What I need to do is show in the subform the following based on the main form table of [Sales Report]:
Purchase order number - Transaction Date - Supplier Name - Total amount $ for the specific Purchase order number
I can't figure out how to only display one line for the purchase order instead of every line of items that was purchased on that order on the subform.
The basic record source query I have at this point is:
Code:
SELECT [Purchase Orders].PurchaseOrderNumber, Suppliers.SupplierName, [Inventory Transactions].TransactionDate, [Inventory Transactions].UnitPrice, [Inventory Transactions].UnitsOrdered, [Purchase Orders].JobNumberID FROM [Inventory Transactions], Suppliers INNER JOIN [Purchase Orders] ON Suppliers.SupplierID = [Purchase Orders].SupplierID;
Once this is working, then I will add a total at the bottom of the main form showing the totals of all purchase orders for that specific job number.
Any help would be very appreciated.