Hi,
I am trying to create a calculated field in a query which uses another value in the query to lookup a table. I get an error running the query :
"Microsoft Access can't find the name 'Indcat' you entered in the expression."
The expression I am using is as follows:
Expr1: DLookUp("[Class]","Class","([Indcat] = [Clind]) AND ([2007] Between [From] AND [To])")
Indcat and 2007 are valid field names in the query.
I used this Dlookup in a form and it worked fine (with Form! etc references to Indcat and 2007)
Mystified
Tony Randell
I am trying to create a calculated field in a query which uses another value in the query to lookup a table. I get an error running the query :
"Microsoft Access can't find the name 'Indcat' you entered in the expression."
The expression I am using is as follows:
Expr1: DLookUp("[Class]","Class","([Indcat] = [Clind]) AND ([2007] Between [From] AND [To])")
Indcat and 2007 are valid field names in the query.
I used this Dlookup in a form and it worked fine (with Form! etc references to Indcat and 2007)
Mystified
Tony Randell