Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textboxes & Option Button Groups
Message
From
06/08/2001 04:13:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Textboxes & Option Button Groups
Miscellaneous
Thread ID:
00540033
Message ID:
00540033
Views:
58
Hallo all,
I usually have a problem with formsets. When I add a record and save (the first record) it saves Ok BUT when I click on the Add button for a second button the textboxes have values of the previously entered record. When the textbox gets focus the value disappears and I can enter the value I want. Same case with the Option group buttons but this time it doesn't "refresh" the way the textboxes do. I've tried "THISFORMSET REFRESH" on the Click event of the Add button but it doesn't work. I've also tried THISFORM.REFRESH on the Init Event of the individual forms (3 forms in the formset) but it also doesn't work. For the option buttons I tried, THISFORM.SETALL("value",0,"optionbutton") on the Init event of the form but it also doesn't work.
How can I refresh the textboxes and option group buttons such that whenever I click on the Add button they are empty? I'm using VFP6 buttonset for the navigating the formset.
Thanks in Advance,
Rich.
Next
Reply
Map
View

Click here to load this message in the networking platform