Dlookup with a between criteria

cablegirl

New member
Local time
Tomorrow, 09:33
Joined
Aug 31, 2003
Messages
8
Hi

I hope someone can help, I believe I have a problem with my setout but can't quite nail something that works.:banghead:

I have two tables

Criteria_Ratings:
FFMin
FFMax
Rating

BaseData:
FF/M

What I am trying to do with a Dlookup is return the Rating when FF/M is between FFMin and FFMax. All fields are Numbers.

FFRating: DLookUp("Rating","Criteria_Ratings",[FFmin]<[FF/M] And [FFmax]>=[FF/M])

Can someone please tell me where I am going wrong.

Thanks in advance
 
Thanks Pat, what would you suggest would be the best way for me to get the data I require?
 
I finally got it to work

FFRating: DLookUp("Rating","Criteria_Ratings"," [FFMin] <=" & [FF/M] & " And [FFMax] >=" & [FF/M] & "")
 

Users who are viewing this thread

Back
Top Bottom