Try the CALCULATE command. If that doesn't do it, I guess you could SCAN through the cursor and add the values up that way...
Have you SUMmed any of the columns successfully?
>hi joseph
>
>This is my problem
>
>I have a grid1 and in column17 my control source is the result of cursor1.qty*cursor1.unitprice what i want to do is to SUM all rows in the column and display a total order amount into a textbox out of the grid.
>
>you said to use SUM in my textbox control source and refresh it, i tryed with no success if you can give a clue i´ll appreciate
>
>thanks alot
Joseph C. Kempel
Systems Analyst/Programmer
JNC