Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in GRID with calculate column
Message
From
30/01/2007 14:48:32
 
 
To
30/01/2007 14:33:18
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01190586
Message ID:
01190599
Views:
14
>Hello comunity
>
>I want to know if it´s possible to determine ncolindex when i have the focus on any columns in the grid.
>Because i think , if i can know what the columnindex number , i can use the event afterrowcolchange ,that was enable on my program ,and when i moving to another column i can make the result calculation of two columns in another one without changing the controlsource, because changing the controlcsource the column will be readonly and also if i change the controlsource to a calculation value this column don´t update the original controlsource that was the field name of my table.
>
>If i can do that , without cycle FOR ...NEXT , i think my problem was resolved.
>Could you , if possible , write some example code to do that based on my original code but without FOR...NEXT
>
>Many thanks
>Luis Santos

I see that you are placing more or the same question as you did a few days ago. As I understand it, you really don't have to store the calculated value, since you can calculate this value anytime. Bind the necessary fields, and forget about storing the calculated value which you really only need to show, but not store.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform