Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate amount
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125302
Message ID:
00125600
Views:
11
That may be unclear. By column, I meant the column of the grid. Sum on the field name, in other workds the column of the cursor, not the column of the grid.

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform