Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox display value goes blank
Message
De
07/07/1999 09:25:45
 
 
À
07/07/1999 07:49:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00238183
Message ID:
00238230
Vues:
14
Hi Mike.

>> but when I change to a different item, the combobox goes blank. <<

The only reason that this happens is that the value of the controlSource is not in the combo's RowSource.

>> However, these are "". Is this because I've used a Rowsource with a Rowsource type of 6 (fields)? <<

I doubt it. It's probably because of how you are populating your cursor.

I looked at some of the code that you posted, and maybe I am missing something here, but I don't understand why you are not using the paramterized view as the alias in your field list. Then just set the parameter and requery the view in the Requery method of your combo. Of course, you would want to requery the combo in its init if you are going to open the view with NoDataOnLoad set to true.

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform