I need some help with a query based form, at least I think it needs a query based form. I have 2 table's one is Suppliers Details (name, address etc), and the second is Product details (product code, price etc). These 2 tables are linked on the Suppliers Account ID (One to Many). I want to create a form where the user has a combo box listing all the product codes, they select the code they want and then the product description appears in the next field, there is then another combo box which list's the suppliers of the product code selected in the first combo box. The user then picks the supplier they want, enters the quantity of product they want and the price gets completed in another field.
The problem is that I can't get this to work, I thought I could create a Select query where the query asks for a product, then asks for the supplier and base the form on this information. This does not work for 2 reasons, the first is that if I pick a product which has 2 suppliers, I am not limited to selecting from these 2 suppliers instead I can enter any supplier that I want (because with my query it uses a message box for the user input, but I want to use a combo box) and the second is that when creating the form it again uses message boxes and I can't figure out how to turn this into a combo box visually on a form, at the moment when opening the form Access displays the message box asking for use input.
Sorry for the lengthy post, can someone point me in the right direction please.
The problem is that I can't get this to work, I thought I could create a Select query where the query asks for a product, then asks for the supplier and base the form on this information. This does not work for 2 reasons, the first is that if I pick a product which has 2 suppliers, I am not limited to selecting from these 2 suppliers instead I can enter any supplier that I want (because with my query it uses a message box for the user input, but I want to use a combo box) and the second is that when creating the form it again uses message boxes and I can't figure out how to turn this into a combo box visually on a form, at the moment when opening the form Access displays the message box asking for use input.
Sorry for the lengthy post, can someone point me in the right direction please.