Hi all. I am trying to create a database app to monitor customers and stock levels, but I'm rather new to all of this so while I know what I want to do and the basics of how I ought probably to do it, I don't know exactly what I need to do to make certain things work.
I have created my tables and made the relationships I need etc. stock, products and customers. I therefore want to be able to enter into the database the customer, what products they have and how much of them they have in stock, adding new customer and product details in as needed where they don't already exist.
I have been using the data control to bind controls to the database, but this seems like a cumbersome way of working. I would therefore like some method where I can use a combo box of customers, say, and the user can start to type and use some auto-complete function and it then returns in a grid a list of all the products they have in stock together with quantities. When the customer name is selected in the combo i would like all the other related fields on the form e.g. address etc to auto update to reflect the current information.
I already know how to use SQL select statements to select the right information and insert that into another table to retrive fields, but I dont see how this will work for me - I need to be able to select the actual data e.g. customer name, product code and stock level and then edit this data directly.
I then need to be able to change the stock level for that product being displayed and have the record saved.
What do I need to know to go about this? Am I going about it the wrong way using VB, should i just make an Access application (not necesarily easier)? I'd rather use my own VB program if I could.
Your help is much appreciated.
Stuart
I have created my tables and made the relationships I need etc. stock, products and customers. I therefore want to be able to enter into the database the customer, what products they have and how much of them they have in stock, adding new customer and product details in as needed where they don't already exist.
I have been using the data control to bind controls to the database, but this seems like a cumbersome way of working. I would therefore like some method where I can use a combo box of customers, say, and the user can start to type and use some auto-complete function and it then returns in a grid a list of all the products they have in stock together with quantities. When the customer name is selected in the combo i would like all the other related fields on the form e.g. address etc to auto update to reflect the current information.
I already know how to use SQL select statements to select the right information and insert that into another table to retrive fields, but I dont see how this will work for me - I need to be able to select the actual data e.g. customer name, product code and stock level and then edit this data directly.
I then need to be able to change the stock level for that product being displayed and have the record saved.
What do I need to know to go about this? Am I going about it the wrong way using VB, should i just make an Access application (not necesarily easier)? I'd rather use my own VB program if I could.
Your help is much appreciated.
Stuart