i'm retriving some data using getrows...
but i'm using a variant array.
I'm wondering if i can use for strings,numbers,boolean
Printable View
i'm retriving some data using getrows...
but i'm using a variant array.
I'm wondering if i can use for strings,numbers,boolean
I also could't use string for getrows.
Is it possible??
Not that I know of. Some functions require a Variant into which they will put an array i.e.
Dim varAry as variant ' Variant to contain an array
Note that there is a difference between the above DIM and an array of variants i.e.
Dim aryVar () as variant.
http://www.vbcompare.com
In this case (with Getrows), are there any difference between
Dim varray as variant
and
Dim varray() as variant.
Both works fine for me.
It seems to be up to the function. I remember that a VB DLL called from ASP could handle DIM varARY as variant but not DIM aryVar() as variant (or was it the other way around).