D
Doug Sanders
I have a form that when a button is used opens a report.
The form has a field that references a value in a table the is needed on the
report.
On the report control source I have the following:
=DLookUp("[CCIT]","CLIENT NAMES","[CACCTN] = " &
[Forms]![f_New_Case_Input_97]![CACCTN])
It gives me a #ERROR value.
The following line returns the correct result where "104" (a string, not a
number is correct)
=DLookUp("[CCNAM]","CLIENT NAMES","[CACCTN] = '104'")
I am out of ideas of this what should be a simple reference operation.
Any help appreciated.
Doug Sanders
The form has a field that references a value in a table the is needed on the
report.
On the report control source I have the following:
=DLookUp("[CCIT]","CLIENT NAMES","[CACCTN] = " &
[Forms]![f_New_Case_Input_97]![CACCTN])
It gives me a #ERROR value.
The following line returns the correct result where "104" (a string, not a
number is correct)
=DLookUp("[CCNAM]","CLIENT NAMES","[CACCTN] = '104'")
I am out of ideas of this what should be a simple reference operation.
Any help appreciated.
Doug Sanders