Stephane,
>I try it and it is very good !
>Maybe it is not the best solution, but I call a function() in my Select for rhe fields that I use the "iif" command.
>
>Example :
> (before)
> Select field1,iif(field2=0,0,field3/field2) as nDiv from myTable
>
> (after)
> Select field1,MyFunction("iif(field2=0,0,field3/field2)") as nDiv from myTable
>
>function MyFunction()
>lParameters tcCalcul
>return evaluate(tcCalcul)
>
>Thanks David !
>Your help was very appreciated ! :)
What is the difference in the two versions? Did we make something better? Was the first version not working for some reason?