Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying calculated field in a form
Message
From
12/08/2005 14:20:32
 
 
To
12/08/2005 14:13:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040587
Message ID:
01040597
Views:
13
This message has been marked as the solution to the initial question of the thread.
>>If calcweight is a field, you can not write "calcweight=use_size*use_size*blunt*.222" to update a field.
>>Replace calcweight with use_size*use_size*blunt*.222
>
>Using Replace wouldn't be appropriate because calcweight isn't a field in a table.
>
>>Or if calcweight is an object, you must write
>>calcweight.value=use_size*use_size*blunt*.222
>
>Where would I place this? And do I need to change anything else I mentioned originally?
>
>Thanks!

Personally I would write this.value=use_size*use_size*blunt*.222 in the refresh method of the object itself. Put the code locally where it belongs.
Previous
Reply
Map
View

Click here to load this message in the networking platform