Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a better way to do it ?
Message
 
To
09/11/1999 09:44:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00288989
Message ID:
00289010
Views:
25
How about putting the calculation code for each calculated field in it's own .Refresh Event. Then in the .LostFocus or .Valid of the record fields issue ThisForm.Refresh or get more specific if required like ThisForm.CalculatedField1.Refresh. HTH

>I've go a form. On the form a pageframe. page1 in the pageframe contains record fields and calculated fields.
>
>I defined some computations to be made in the LostFocus event of some of the record fields.
>
>When I do a refresh the fields are not recalculated. What I did is that I modified the Refresh event and added some SetFocus after a DoDefault in the Refresh event.
>
>Is there a better way to do it ?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform