I have this Dlookup() in a query:
DLookUp("[RECCOUNT]","[CalRecCount0]","[DATE] =' [Forms]![Calmain]![Calsub].[Form]![Day13]'")
I am getting a Data Type mismatch in Criteria Expression error. [Date] is a field in the CalRecCount0 query (which works fine) and [Day13] is a date field on a subform.
Do I have to do anything different because the criteria is a date?
Robert
DLookUp("[RECCOUNT]","[CalRecCount0]","[DATE] =' [Forms]![Calmain]![Calsub].[Form]![Day13]'")
I am getting a Data Type mismatch in Criteria Expression error. [Date] is a field in the CalRecCount0 query (which works fine) and [Day13] is a date field on a subform.
Do I have to do anything different because the criteria is a date?
Robert