Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limiting choice in drop down list
Message
De
05/10/1998 22:56:01
 
 
À
05/10/1998 22:33:16
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00143999
Message ID:
00144099
Vues:
31
I don't understand why it doesn't work for you. This code works fine for me
Dimension This.aFieldName[3,2]
This.aFieldName[1,1]="\Last Name"
This.aFieldName[1,2]="SearchTable.dHire"
This.aFieldName[2,1]="\Date of Hire"
This.aFieldName[3,2]="SearchTable.cLastName"
This.aFieldName[3,1]="Social Security #"
This.aFieldName[3,2]="SearchTable.cSSN"
This.Rowsource=This.Rowsource

The first 2 items are disabled. The last line, which looks ridiculous, is vital. The RowSource remains the same -- even though the contents have changed -- until you explicitly tell it to change. I don't know how you're loading your ComboBox, AddItem ir what, but try resetting the RowSource.

>Tried it both ways - with and without a space - with and without a dash - the only thing I didn't try was a >.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform