D
Damien Dutreil
Hi,
In a request, I want to have in the Where something like:
[FORMS]![TRI]![AN1] ou [FORMS]![TRI]![AN2] ou
IIf(Nz(FORMS]![TRI]![AN1])+Nz(FORMS]![TRI]![AN2])=0,"*","")
Unfortunatly, syntax error on IIf.
I simplify the request and
IIf (5=4, "*", "") is also syntax error.
I don't understand this error because the syntax seems OK.
How can I specify in the Where that I want Field1 or Field2 or "*" if
Field1 and Field2 are null ?
Thanks for your answers.
In a request, I want to have in the Where something like:
[FORMS]![TRI]![AN1] ou [FORMS]![TRI]![AN2] ou
IIf(Nz(FORMS]![TRI]![AN1])+Nz(FORMS]![TRI]![AN2])=0,"*","")
Unfortunatly, syntax error on IIf.
I simplify the request and
IIf (5=4, "*", "") is also syntax error.
I don't understand this error because the syntax seems OK.
How can I specify in the Where that I want Field1 or Field2 or "*" if
Field1 and Field2 are null ?
Thanks for your answers.