That would be ideal, but to save changing code in hundreds of locations I now pass the array name, the array itself, and the variable name to store the selected item in to return to the calling program.
>>UPDATE:
>>
>>I figured it out.
>>
>>
>>I want to pass an array to a form so I can bind a listbox on the form to elements in the array. This form is for display purposes only but the user will select an element from the array (listbox) and I will pass that selection back to the calling program. The value returned could be numeric or character. It will perform as a popup really that I want to create dynamically. I need to be able to determine what array is being used in the form by capturing its name in the form's init. Any ideas?
>>
>>TIA! :o)
>
>Could you pass a collection instead?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"