where previously it was CustomerList.ItemData (customerList.NewIndex)
Kevin Robertson
@Reply 2 years ago
CustomerList.ItemData (customerList.NewIndex) is setting the ItemData (in this case the ID).
Msgbox CustomerList.ItemData (customerList.ListIndex) is retrieving the ItemData (ID) from the currently selected item in the Listbox and displaying it in a Message Box.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
VB 105.