Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Erasing a combobox's memory
Message
 
 
À
19/07/2005 16:11:14
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01032369
Message ID:
01034018
Vues:
21
Elyse,

Look at my other reply, I think you'll be happier with cbos if you select into an array property of the cbo and use that as your RowSource.

>This looks like it works, but if you click on the combo after the rowsource changes it shows the value in the position corresponding to its previous value.
>
>
>lcSelect="SELECT DISTINCT cncrow FROM concert WHERE cnccode='"+MyCodeVal+;
>	"' INTO CURSOR c_rows"
>WITH ThisForm.cboRow
>   .RowSource=lcSelect
>   .Requery()
>   .Value="  "
>   .Refresh()
>ENDWITH
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform