Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum Grid column from valid of that column
Message
 
 
To
21/07/1998 11:39:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00119725
Message ID:
00119770
Views:
15
Dick,

If you can move the code to the LostFocus() the value will have been put in the field of the RecordSource. You can also do a REPLACE inside the Valid() if you aren't having the Valid() prevent illegal values.

>From within the valid of the grid element being altered, I need to post to a variable the sum of the values of that field of all the records in the grid.
>
>I'm getting a total that includes the value before the change. I want to have a total that includes the value after the change.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform