Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding records to a table via combobox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00097388
Message ID:
00097423
Vues:
23
>Excuse the stupid question, but to requery do I just invoke the native requery event of the combo, e.g. This.requery and if so, how does that differ from refresh?
>
>Sylvia

Sylvia, yes, I mean combo.Requery() (nothing stupid is here to ask...)
Refresh method repaints a form or control and refreshes values for all controls, but for ListBox and ComboBox you need also use Requery. Requery method requeries the row source to which the ListBox or ComboBox control is bound, and ensures that a control contains the most recent data. The Requery method requeries the RowSource property and updates the list with the new values.

Nick
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
Répondre
Fil
Voir

Click here to load this message in the networking platform