Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculated values - Where to put code?
Message
From
17/08/1998 12:46:01
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127394
Message ID:
00127468
Views:
25
>I'm working on a form that has several calculated values. Some are based on other values on the form, some are counts of records in related child tables, and some are sums of records in related child tables. I have no problem with the code required, I'm just wondering where is the best place to put the code because I've thought of so many? I'd really appreciate any input on your approaches and any reasons/benefits to why you did it this way. TIA

I have used two approaches:

1) Specifying a function as the source for an screen object, and

2) using the screen object REFRESH method.

The second method seems better to me; more "object oriented", if you want!

HTH!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform