Results 1 to 2 of 2

Thread: getrows()

  1. #1
    patty Guest

    Default getrows()

    can getrows() handle 4 dimensional arrays?<BR>what&#039;s the max dimension can getrows() handle?<BR><BR>thanks a lot,<BR>patty

  2. #2
    Join Date
    Dec 1969

    Default RE: getrows()

    &#062; can getrows() handle 4 dimensional arrays?<BR>&#062; what&#039;s the max dimension can getrows() handle?<BR><BR>Huh? Did you read the specs for ADODB.RecordSet.GetRows, at all???<BR><BR>It *always* returns a two dimensional array where every record of the recordset has been converted to a "row" in the array, with the fields arranged by "columns".<BR><BR>What possible kind of recordset can you *imagine* that *could* be converted to a 4D array???<BR><BR>Think about what a recordset *IS*: It is *actually* simply an array of collections, right? You can access a given record via RecordSet.AbsolutePosition, which is essentially the same thing as choosing a row in an array. Then each row is a *collection* since you can access the individual fields by name, right? <BR><BR>So all GetRows does is to make the conversion from each-record-is-a-collection to each-record-is-a-row and put all the rows into the array.<BR><BR>I&#039;m sorry, but I think your question makes no sense whatsoever.<BR><BR><BR><BR><BR>

Posting Permissions

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