Hello,
I'm hoping y'all can help. I have two tables. The first table, lets call it tblData, contains a certain price of an item. The second table, tblRanges, contains ranges of an item to be used based on the price.
For example, take Item A. If the price is between 0 and 5.99, apply a percentage of 10%. If between price 6 and 9.99, apply a percentage of 15%. If price greater than 10, apply 20%.
How do I choose the proper percentage based on the price? I can supply more data if necessary.
Thanks,
Eric
I'm hoping y'all can help. I have two tables. The first table, lets call it tblData, contains a certain price of an item. The second table, tblRanges, contains ranges of an item to be used based on the price.
For example, take Item A. If the price is between 0 and 5.99, apply a percentage of 10%. If between price 6 and 9.99, apply a percentage of 15%. If price greater than 10, apply 20%.
How do I choose the proper percentage based on the price? I can supply more data if necessary.
Thanks,
Eric