>>I am trying to put a value in a grid test box. To get this
>>value , I am adding up other texts boxes in the same grid.
>>example..
>>grid
>>a b c d
>>I want the value of d to be a+b+c only if a > 0..
>
>SELECT a, b, c, IIF(a>0, a+b+c, 0) AS d FROM mytable INTO CURSOR mycursor
>
>Grid.RecordSource = "mycursor"
Hi Sylvain
Sorry I did not get back to you earlier.
Holidays and all that...
thanks for your answer...