I tried to use DLookUp in the expression of a control on a report to lookup a value in a query. I get Name# and I think it might have to do that I have to criteria.
"[EmployeeID]"= Forms![rptMain]![EmployeeID] & "[YearMonth]"=Forms![rptMain]![MonthYear])
Or can I not lookup values in a query?
How can I accomplish anything like this?
Thanks.
Maddi
"[EmployeeID]"= Forms![rptMain]![EmployeeID] & "[YearMonth]"=Forms![rptMain]![MonthYear])
Or can I not lookup values in a query?
How can I accomplish anything like this?
Thanks.
Maddi