Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box value change
Message
 
À
29/09/1999 13:04:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00270441
Message ID:
00270622
Vues:
32
>Hi Jim,
>For the combo box, I've SELE from mytable into a cursor.
>The RowSourceType is 2-Alias, and the RowSource is the Cursor.
>In the InteractiveChangeEvent, I SEEK this.Value.
>The ControlSource for the TextBox is a field from which the Cursor was created.
>(You're right, I know, about how you set things up..it makes a world of difference...trying hard to learn the differences.)

Mary-Ann,

For a combo with alias as the rowsourcetype it is NOT necessary to seek the value in the alias, the combo moves the record pointer in the alias automatically.

You could simply call the textbox's Refresh method from the combobox and then requery things in the textbox's Refresh. Or if you wan the textbox to requery for the user typing and when the combo has an affect, you put the requrey code in the textbox's InteractiveChange and call the InteractiveChange from the Refresh.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform