Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limiting choice in drop down list
Message
De
05/10/1998 22:45:46
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
À
05/10/1998 19:02:33
Bob Lucas
The WordWare Agency
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00143999
Message ID:
00144097
Vues:
29
>
>Don't use the same query file to do the look ups or relationship in your other display.


It's only one display. The thing is the ControlSource can't find the name in the drop down list so it doesn't display it in the collapsed drop down. It needs to be there at all times but only allow selection of the active ones.


>What I have started to do is make all my combo boxes as a type 0. I then build them from my cursors using addlistitem. I do this because I have a data environment object attached to the list box so it loads it's own cursor. This is good for codes. The problem was though, the same code table is used for diffent drop downs (each with it own parameter) and the last select seemed to populate all the lists. With addlistitem, I build each list individually. You could do the same thing, and in your base class, exclude adding any item where the active flag was false.


I might play with this after I try Jim's suggestion which is similar to yours


>By the way, I am going to bring my PC on Wednesday for the demo and discussion.


Please do or you will have a hard time doing your demo < G >.
BTW, did you get an e-mail about the meeting? I think the mail server might be down again.
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform