Build Array in VBScript

Results 1 to 3 of 3

Thread: Build Array in VBScript

  1. #1
    Aba Guest

    Default Build Array in VBScript

    I receive. numbers from the DataBase and I would like to build an Array with them in VBScript<BR>I receive the numbers by<BR><BR>Do until rec.EOF<BR>Var= rec.field ( "field_name")<BR><BR>This code bring me the numbers<BR><BR>I would like to build a string like that<BR><BR>No1, No2, No3.................Till the end<BR><BR>Like : 1,4,7,8,9,<BR><BR>If someone can give a hand in that, I thank him / she in advance<BR>Hope I am clear enough<BR>Thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default ADODB.RecordSet.GetRows

    That method will convert the entire recordset to an array.<BR><BR>Since this is the "advanced" forum, I assume you know where to look in the docs to find that method and how to use it.<BR><BR>

  3. #3
    Aba Guest

    Default RE: ADODB.RecordSet.GetRows

    Thnks I solve it with the CStr(exp) and it is working.<BR>Thanks any way

Posting Permissions

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