IF statement condition
Hi, I would like to do this in a group header:
the regroupement of the group header is
but this dont work.. why?
thanks
[IF([Qry."TDWeekDay"] = 1, Dimanche)]
or
[IF([Qry."TDWeekDay"] == 1, Dimanche)]
the regroupement of the group header is
[Qry."TDWeekDay"]
but this dont work.. why?
thanks
Comments
The the best way is, if the variable 'jour' exists is like :
if ([Qry."TDWeekDay"] = 1) then jour := 'dimanche'
1. it is missing a parameter.
2. if Dimanche is a variable it needs [] around it else if it is a string it needs quotes.
try
[IF([Qry."TDWeekDay"] = 1, 'Dimanche', 'Other')]
this work fine
thanks for your help