I have 2 forms ("X" and "Y") linked by field ID.
I have a query called "Z" counting records in "Y" that have a common ID.
I would like to add a text field on form "X" showing the result in the field "W" of the query "Z" for the current ID.
I have put in control source of such text field the following :
=DLookUp([CountOfW], [Z], "ID=" & Me.ID)
I receive the error #Name? in the text field in form view.
What's wrong in my syntax ?