Hello,
I am trying to use Dlookup in an unbound text box on a report and I am having trouble specifying criteria. I have the following in the control source:
=DLookUp("[ObjectiveSummarized]","ObjectiveSummarizedTable","[Ax1Label] = '" & Tables!ObjectiveSummarizedTable!ObjectiveNumber & "' ")
I want to display the field ObjectiveSummarized for each objective label on the report (Ax1Label). Ax1Label (on report) is related to ObjectiveNumber in ObjectiveSummarizedTable. Can anyone see what I've done wrong?
I get the first objective definition in the table rather than the one related to the Ax1Label. Thanks to anyone who can give this a look.
Carly
I am trying to use Dlookup in an unbound text box on a report and I am having trouble specifying criteria. I have the following in the control source:
=DLookUp("[ObjectiveSummarized]","ObjectiveSummarizedTable","[Ax1Label] = '" & Tables!ObjectiveSummarizedTable!ObjectiveNumber & "' ")
I want to display the field ObjectiveSummarized for each objective label on the report (Ax1Label). Ax1Label (on report) is related to ObjectiveNumber in ObjectiveSummarizedTable. Can anyone see what I've done wrong?
I get the first objective definition in the table rather than the one related to the Ax1Label. Thanks to anyone who can give this a look.
Carly