Information générale
Titre:
AddItem v AddListItem in Combo Boxes
I usually populate combo boxes via arrays or cursors, with a description in the 1st row & the actual value in the 2nd.
I recently tried using the AddListItem to populate the control, but I only stumbled across example code in a Marcus Egger book, as there's no real example in the VP or MSDN documentation. After seeing the example, it was fairly easy.
The only thing I find strange with this approach is that all the values need to be character, numerics need to be converted. However, if the bound value is a numeric, the converted numeric is stored without any intervention. What's going on there?
What's the difference in using AddListItem compared to AddItem?
Thanks,
Andy Crawshaw
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