General information
Category:
Forms & Form designer
Title:
Textboxes & Option Button Groups
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only