I’m trying to return a field value (in this example course slope) from a table (Data Type: USGA Mens 18). My expression searches for the yardage value of 200 which is >= than the table’s ‘yardage from’ value and <= the table’s ‘yardage to’ value. I would think this expression would return the value “2”. Instead, the expression returns nothing. Why?
I have a separate and similar expression to return the ‘course rating’ value which in this example would be .9. Again, this expression also returns nothing.
FYI… the field values in the table are set to ‘number’.
I don’t understand. Row five (5) in the table has a 'yardage from value of 187 and a yardage to value of 208. 200 falls between these two values. What am I missing here?
Sorry, but I still don’t get it. I have two separate constraints on my search… 1) ‘yardage from’ and ‘yardage to’. I’m looking for ‘yardage from’ > Y and ‘yardage to’ < Y. In this example Y = 200.
200 yards is greater than 187 and less than 208. There is only one row in the table that meets that criteria.
Nope. That didn’t work either. Sorry, but I’m stumped here. Can anyone suggest how I should write this expression to give me the result I’m looking for? Thanks!