I am using DLookup in a query, and am getting no results. I moved the DLookup to a form so that I could "see" the results and then used the control of the form in a query, and still no results. However, if I copy and paste the results of the DLookup in the form to the query, I get the correct results.
This is the DLookup:
=DLookUp("[Criteria]","CallLogCriteria") (CallLogCriteria is a query and Criteria is the name of the field I want the results of) And as I said, it displays the results in the form. Then in the query I used the following:
[Forms]![CallLogForm]![NonRA]
If it didn't work when I copied the DLookup results into the query, I would see why this isn't working - however, I can't see what the problem is.
Any help would be greatly appreciated. I found the info of how to do the DLookup and the Form Control by searching, but can't get further. Thank you...
This is the DLookup:
=DLookUp("[Criteria]","CallLogCriteria") (CallLogCriteria is a query and Criteria is the name of the field I want the results of) And as I said, it displays the results in the form. Then in the query I used the following:
[Forms]![CallLogForm]![NonRA]
If it didn't work when I copied the DLookup results into the query, I would see why this isn't working - however, I can't see what the problem is.
Any help would be greatly appreciated. I found the info of how to do the DLookup and the Form Control by searching, but can't get further. Thank you...