Results 1 to 5 of 5

Thread: Getrows needs variant arrays ???

  1. #1

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81
    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

  2. #2
    New Member
    Join Date
    Apr 2001
    Location
    Hungary
    Posts
    8

    Unhappy

    I also could't use string for getrows.
    Is it possible??

  3. #3
    Hyperactive Member
    Join Date
    Apr 2001
    Posts
    315
    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

  4. #4
    New Member
    Join Date
    Apr 2001
    Location
    Hungary
    Posts
    8
    In this case (with Getrows), are there any difference between
    Dim varray as variant
    and
    Dim varray() as variant.
    Both works fine for me.

  5. #5
    Hyperactive Member
    Join Date
    Apr 2001
    Posts
    315
    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width