Hi,
When trying this DLookup a null is always returned. I know both of the criterias have been met. If I split the criteria ie. only use 1 then I get a value returned, but with both nothing. I have also tried enclosing the date with #'s but it still will not return a value.
Any ideas??
Me.txtAssessorRef = DLookup("AssessorRef", "tblReview", "[RiskRef] = " & Me.txtRiskRef & " And [ReviewDT] = " & ReviewDt)
When trying this DLookup a null is always returned. I know both of the criterias have been met. If I split the criteria ie. only use 1 then I get a value returned, but with both nothing. I have also tried enclosing the date with #'s but it still will not return a value.
Any ideas??
Me.txtAssessorRef = DLookup("AssessorRef", "tblReview", "[RiskRef] = " & Me.txtRiskRef & " And [ReviewDT] = " & ReviewDt)