Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding a Combo programatically
Message
 
À
20/03/2002 15:17:26
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00635187
Message ID:
00635208
Vues:
15
>Hi All:
>
>I have two combos on Page2 of a pageframe. They are populated (Labtests) in the Load method of the form using a select statement.
>
>In one of the pages, the user may enter a new code and test name (in text field) which are then inserted into the Labtests table. when this happens, I would like the two combos to contain a refreshed verision of the labtests table, i.e., the should include the newly inserted test. I have the code to insert the new code and name in the Save button.
>
>Any suggestion? TIA
>
>- Ravi

Typically, if you want to refresh the combo or listbox content you issue:

combo.Requery()
combo.Refresh()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform