Maybe the description of the problem is not what it should be but let me describe my problem.
I want to add products to an order.
I have an order table with customer_ID, product_ID , Quantity, Unit_Price fields
I also have a product table with Product_ID, Product_Description, Unit_Price , and Stock_Quantity
When I enter a Product_ID (combobox) in my order tabel I want to copy the Unit_Price from the product table into the Unit_Price field in the order table.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
BartVervenne
Maybe the description of the problem is not what it should be but let me describe my problem.
I want to add products to an order.
I have an order table with customer_ID, product_ID , Quantity, Unit_Price fields
I also have a product table with Product_ID, Product_Description, Unit_Price , and Stock_Quantity
When I enter a Product_ID (combobox) in my order tabel I want to copy the Unit_Price from the product table into the Unit_Price field in the order table.
What is the best way to do this ?
Thanx
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.