Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grouping a bunch of textboxes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00154782
Message ID:
00154788
Views:
18
that sounds reasonable enough. But what if there were a hundred fields in question?

>Just create a textbox on the form and put THIS.Value=THISFORM.Text1.Value+THISFORM.Text2.Value... in its Refresh method. Make sure you refresh the form or that text box every time the user changes a value in one of the textboxes you are summing (you could put it in the LostFocus or InteractiveChange).
>
>>on a form I have textboxes which correspond exactly to fields in the database. jan,feb,mar,apr...dec, all numerical. Is there a way I can have these summed up and the value placed in another textbox?
>>Just wondering.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform