I have two Query,
1. Open item query - this is were I what to run dlookup, and the Expr2 is the field that I want looked up.
2. location query - has what I an looking for
if expr2 = [location query]![location] then give me what is in column [location query]![l-pre]
this is the equation that I am using in access
DLookUp("[Location Query]![LOCATION]",[Expr2],"[Location Query]![L-PRE] = '[Expr2]'")
I am trying to do what I did in excel
=LOOKUP(AF160417,Location!A:A,Location!B:B)
thank Duncan
1. Open item query - this is were I what to run dlookup, and the Expr2 is the field that I want looked up.
2. location query - has what I an looking for
if expr2 = [location query]![location] then give me what is in column [location query]![l-pre]
this is the equation that I am using in access
DLookUp("[Location Query]![LOCATION]",[Expr2],"[Location Query]![L-PRE] = '[Expr2]'")
I am trying to do what I did in excel
=LOOKUP(AF160417,Location!A:A,Location!B:B)
thank Duncan
Last edited: