Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculation in grid AfterRowColChange event
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00696537
Message ID:
00696699
Views:
13
Soykan,

You'll need to populate the RecordSource with a value that is doing the sum, which can be calculated in a scan loop:
lnTotal = 0
scan
   lnTotal = lnTotal + ColA
   replace ColB with lnTotal
endscan
>i have workbook on MSexcel like under
>
> A B
     produced   cumulativeproduced
1    100        100
2    50         150    && formula B1+A2
3    200        350     && formula B2+A3
>..
>..
>..
>
>i wantto this calculation in grid how can i do this ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform