You aren't bothering me. Sum on the field name, not the column. For example, if the field name is Salary, do a
SUM on Salary to THISFORM.TestData
Let me know how things work out.
Joe
>Sorry for bodering
>
>I did what you said and didn´t work
>
>I added a textbox named tbTestData and then added the property to the form TestData. ControlSource for tbTestData is Thisform.TestData
>
>The values are located in column17 named colTotal
>
>In the click property of a buttom name command1 i wrote this:
>
>select cruzada (cursor1)
>sum thisform.Pageframe1.Page2.Grid1.colTotal to thisform.TestData
>thisform.Pageframe1.Page2.tbTestData.refresh
>
>the result sais that is not a numeric expression and returns an object.
>
>what i´m doing wrong?
>
>I Promise this is the last question
>
>Thanks
Joseph C. Kempel
Systems Analyst/Programmer
JNC