DataGuy0811
IS-IT--Management
Hi Everybody,
I have dveloped an Access 2007 database that will allow users to order products. I have two tables that will hold data. They are: Product and Product Orders.
The Product table will hold the Code, Product, Description, Price, and Available Units for Sale. I have linked these two tables together by using a primary key on the Code field.
I have created this link through a select query. This select query called productOrdersRec will hold all placed orders by the user. I have created an entry level form that will ask the user for a Vendor Name and Store No. Once these two pieces of data are entered in the textboxes, the Order Cases button is selected which opens the InvoiceNewSubform which hold two subforms: The ProductOrdersRec Subform and the PullByStoresTS-VAP Subform1. These two subforms I have Link Master Fields and Link Child fields using the MyUserID which is populated based on who is logged in on the PC. The subforms are loading with data as they are suppose to, but we need the Vendor and StoreNo to save with each order. The vendor and StoreNo are coming into the ProductsOrdersRec Subform, but before we save the record we need to have the Vendor and Store No to save somewhere so we will know what orders we took for which vendor and Store No. For example we have entered ALLStateCompany and Store 006. This vendor has ordered A6005, A6001, B6008, and C6789. We need for this information to store somewhere in a table so we can always have up to date information on what was ordered by each vendor and the store No.
How can I do this? What kind of wuery would I need to do this? I am new to Access 2007.
dataguy0811
I have dveloped an Access 2007 database that will allow users to order products. I have two tables that will hold data. They are: Product and Product Orders.
The Product table will hold the Code, Product, Description, Price, and Available Units for Sale. I have linked these two tables together by using a primary key on the Code field.
I have created this link through a select query. This select query called productOrdersRec will hold all placed orders by the user. I have created an entry level form that will ask the user for a Vendor Name and Store No. Once these two pieces of data are entered in the textboxes, the Order Cases button is selected which opens the InvoiceNewSubform which hold two subforms: The ProductOrdersRec Subform and the PullByStoresTS-VAP Subform1. These two subforms I have Link Master Fields and Link Child fields using the MyUserID which is populated based on who is logged in on the PC. The subforms are loading with data as they are suppose to, but we need the Vendor and StoreNo to save with each order. The vendor and StoreNo are coming into the ProductsOrdersRec Subform, but before we save the record we need to have the Vendor and Store No to save somewhere so we will know what orders we took for which vendor and Store No. For example we have entered ALLStateCompany and Store 006. This vendor has ordered A6005, A6001, B6008, and C6789. We need for this information to store somewhere in a table so we can always have up to date information on what was ordered by each vendor and the store No.
How can I do this? What kind of wuery would I need to do this? I am new to Access 2007.
dataguy0811