Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
Herman,
Hi. I'm not sure If I understand your question. Here are the properties i have set in the listbox:
Bound Column: 1
Control Source: lvCorrType.cCorrCode
Row Source: CorrTypeCodes.cCorrCode, cCorrDesc
I chose the row source to be a lookup table, because I want the user's to be able to add codes at any time. Then, those new codes will be in the listbox. Since the users can select more than one item from the list box, I set the control source of the listbox to a child view(lvCorrType). If the lvcorrtype.cCorrCode matches any items in the listbox, then I want those items to appear selected. Is there a better way to do this? The items in the listbox will stay in the same order all the time. The items appear selected in the listbox if I trace the code or if I navigate to another page, and then return to the page where the listbox is. It's weird.
I appreciate all your help.
Regards,
Bradley
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement