Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculation Field on Form
Message
From
14/12/1998 16:28:47
 
 
To
14/12/1998 16:20:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00167370
Message ID:
00167392
Views:
23
>I placed a "lvar=int(val(sys(1)-val(sys(11,apptrack.apprecvd)))" in my init event and I place control source(a text field) = lvar. The field comes up blank?, as does another text field that I had tried to print. TIA.

Robin, you should either use:
This.Controlsource="0+int(val(sys(1)-val(sys(11,apptrack.apprecvd)))"
in Control.Init event, or:
This.Value=int(val(sys(1)-val(sys(11,apptrack.apprecvd)))
in Control.Refresh method
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform