Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes & Option Button Groups
Message
De
06/08/2001 04:13:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Textboxes & Option Button Groups
Divers
Thread ID:
00540033
Message ID:
00540033
Vues:
63
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform