I cannot Dlookup function on a calculated control.
When I use the following line associated with a control event in Visual Basic, it works perfectly well:
VariableAm = DLookup("[sequence5_3_amorce]", "Liste_amorces", "[id_amorce]=" & Me![amorce_fwd])
However, when I try the same command line in the expression generator of the control (control source property), the generator tells me there is a syntax error in the expression:
=DLookup("[sequence5_3_amorce]", "Liste_amorces", "[id_amorce]=" & Me![amorce_fwd])
Could someone please help me with this?
Many thanks,
Sébastien
When I use the following line associated with a control event in Visual Basic, it works perfectly well:
VariableAm = DLookup("[sequence5_3_amorce]", "Liste_amorces", "[id_amorce]=" & Me![amorce_fwd])
However, when I try the same command line in the expression generator of the control (control source property), the generator tells me there is a syntax error in the expression:
=DLookup("[sequence5_3_amorce]", "Liste_amorces", "[id_amorce]=" & Me![amorce_fwd])
Could someone please help me with this?
Many thanks,
Sébastien