Your way seems cleaner, but I'm not clear on how you're keeping the arrays in synch. When I create the "choices" array, I create the "pks" array at the same time? That would make a clear relationship between the "choices" array and the "pks" array, but how do I then link the "selections" array to the "pks" array since the "selections" array is controled by the class?
Thanks,
Michelle
>In addition to Sergey's reply, I use this approach frequently.
>Add another array (eg) called This.aPicklist containing your PK values to the class. When a user selects an item, the PK value is This.aPickList[This.ListIndex,1]
>
>Peter Easson
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