Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes & Option Button Groups
Message
De
06/08/2001 04:49:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/08/2001 04:13:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00540033
Message ID:
00540038
Vues:
20
>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.

Richard,
refresh call should be in click not init.
PS: Formsets are hard to manage, if possible for you do not use formsets.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform