I have a table with 3 critical pieces of information.
Class
Grade
Purse
The Purse value can contain a large number of possible values.
I will create a second table with Class, Grade a "Purse Range", and a PAR Value for that "Purse Range".
For example in Table 1: Class, Grade, Purse
STK.....1.....750k
STK.....1.....500k
STK.....1.....900k
STK.....1.....250k
STK.....2.....150k
STK.....2.....200k
STK.....3.....100K
Table 2: Class, Grade, Purse Minimum, Purse Maximum, Par Value
STK.....1.....600k.....999k.....110
STK.....1.....500k.....599k.....109
STK.....1.....400k.....499k.....108
The first record in table 1 has a purse of 750k. That falls between 600k and 999k. I want the query to return 110.
The second record in table 1 has a purse of 500k. That falls between 500k and 599k. I want the query to return 109.
The third record in table 1 has a purse value of 900k. That falls between 600k and 999k. I want the query to return 110.
etc....
Thanks