Hi everybody !

In my table there are 3 fields (Description / Check / Cout)

If the value of Check is true I want the amount in Cout and if it's false I want that "Exclus" appears on the report instead of the amount ???

I add the code below in Formula editor:

If {TravChantier.Check} = "True"
Then {TravChantier.Cout}
Else "Exclus"

I got the error "A currency amount is required here"

I understand the error, but I dont know how to do what I want ???

Thanks in advance !