vaughnk
April 30th, 2006, 08:02 PM
So, I'm working on this dorky phone book application for a the VB class I'm taking this quarter. I have three arrays, one hold names, the others phone numbers and emails. The way that I've set it up this far loads the names array into a combobox and then the selected index is used to display the corresponding data from the other two arrays.
I would like to sort the names array and need to preserve the order of the other arrays so the data will display properly...
Would I be better off to use one two-dimensional array? Or is there a simple way to sort with the way I have it set up?
Thanks
I would like to sort the names array and need to preserve the order of the other arrays so the data will display properly...
Would I be better off to use one two-dimensional array? Or is there a simple way to sort with the way I have it set up?
Thanks