Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change value in combo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00494464
Message ID:
00495646
Vues:
11
>Hi Ko.
>
>>> Set the rowsourcetype to View, <<
>
>Not quite < s >. There is not such RowSourceType as view. I'm sure that what you really meant was RowSourceType = 3-SQL.
>
>>> && Then requery the view with the list of names in it. (This is the view from the rowsource)
> Requery('cNames') <<
>
>Since the RowSource is a SQL statement, there is no view to requery. All that is needed is to Requery the combo here.
>
>Also, keep in mind that SQL operates on the contents of the file on disk and does not "see" what is in the buffer. Therefore, if you make changes to the users table and you want the Requery() to "see" them, you have to commit the changes before you requery() the combo.


However, there is a rowsource type of ALIAS which can be a view. I would guess that is what he is talking about.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform