| || |
QTP:Vb script::Working with Array
I am getting a Type Mismatch error while populating the values in the array.
Is there something wrong with the code?
Dim arrPaintDropdownList(), i
Do Until rsPaintDropdownList.EOF
For i=1 to countPaintDropdownList arrPaintDropdownList(i)=rsPaintDropdownList(0).val ue
Re: QTP:Vb script::Working with Array
Since your array is dynamic you have to use ReDim before you can use it, see QTP help for details