H
hepsedam
Hello: I have a database with two tables; tblProduct and tblPrice. I
want a build a query where each Product record is assigned a price,
based on multiple fields (and underlying values) found within
tblProduct. The tblPrice has 234 pricing tiers (records), all with
mutually exclusive criteria.
How would I build this query? I started to go down the IIf, then,
else path, but realized I would have 234 statements. I think I need
some sort of refence formula.
Ex. If a Product's weight is 5 AND its volume is 100, then look within
the Price table to find the Price Record that matches the Product's
record values. tblPrice has the fields MinWeight, MaxWeight,
MinVolume, Max Volume.
Thanks!
want a build a query where each Product record is assigned a price,
based on multiple fields (and underlying values) found within
tblProduct. The tblPrice has 234 pricing tiers (records), all with
mutually exclusive criteria.
How would I build this query? I started to go down the IIf, then,
else path, but realized I would have 234 statements. I think I need
some sort of refence formula.
Ex. If a Product's weight is 5 AND its volume is 100, then look within
the Price table to find the Price Record that matches the Product's
record values. tblPrice has the fields MinWeight, MaxWeight,
MinVolume, Max Volume.
Thanks!