06-01-2010 08:39 AM
Paul,
Thank you very much for sharing this!
I'm running this in VBScript successfully to the point of returning the array. I can validate the array and confirm the number of records (UBound), but am unable to return specific records "arrUsers(12)". I continue to recieve a type-mismatch error.
Forgive me if I'm overlooking something obvious.
Michael
06-01-2010 11:36 AM
Michael,
What does the code look like where you are making this call?
Also, should arrUsers(12) instead be arrUsers[12] (I'm a litttle rusty in VBScript)?
What is the variable type you are assigning this to?
06-01-2010 02:27 PM
Paul,
It appears that the function returns a vartype 8200 (string array) and VBScript only supports vartype 8204 (variant array). I built it as a console app in VB.Net without further incident.
Michael
06-01-2010 09:43 PM - edited 06-01-2010 09:44 PM
Michael Is this something that you could share with the community?
Cheers
kannan