I have a simple "orders" database. A main order form with a subform.
the subform lists the product with a combo box and then enters the unit price from the same table automatically.
My problem is that a product can have 9 prices dependant on price band. (Unfortunately there is no common formula for each product, so a discounting structure cannot be used)
The easy solution for me is that I enter 9 different product codes for each product in my product table, which would work, but due to the number of products this would make my table very long and would not be suited to the way updates are made.
What I would like to do is extend my product table so each product could have 9 prices
Ie
Product 1 / Unit Price 1 / Unit Price 2 / Unit Price 3 etc
It is worth noting that on each order all of the products must be in the same price band as this hopefully would make it easier.
Problem is, I am stuck in even thinking about it, ideally I would like a combo box on the order to select the price band, then every time the product is ordered the unit price on the subform picks up either unit price 1 / unit price 2 etc dependant on what was selected. Even better still, if the unit price band is changed it will recalculate the unit price for all the products.
1. Is the possible
2. Any pointers in the right direction to get me going would be appreciated
thanks
the subform lists the product with a combo box and then enters the unit price from the same table automatically.
My problem is that a product can have 9 prices dependant on price band. (Unfortunately there is no common formula for each product, so a discounting structure cannot be used)
The easy solution for me is that I enter 9 different product codes for each product in my product table, which would work, but due to the number of products this would make my table very long and would not be suited to the way updates are made.
What I would like to do is extend my product table so each product could have 9 prices
Ie
Product 1 / Unit Price 1 / Unit Price 2 / Unit Price 3 etc
It is worth noting that on each order all of the products must be in the same price band as this hopefully would make it easier.
Problem is, I am stuck in even thinking about it, ideally I would like a combo box on the order to select the price band, then every time the product is ordered the unit price on the subform picks up either unit price 1 / unit price 2 etc dependant on what was selected. Even better still, if the unit price band is changed it will recalculate the unit price for all the products.
1. Is the possible
2. Any pointers in the right direction to get me going would be appreciated
thanks