Results 1 to 2 of 2

Thread: Arrays

  1. #1
    darin Guest

    Default Arrays

    From everything I&#039ve read I believe arrays have to be hardcoded.<BR>What I would like to do is populate an array from a select query.<BR>Does anyone know if this can be done?<BR>Such as: myarray = Array(select field from table)

  2. #2
    Simhan Guest

    Default RE: Arrays

    You can use the getRows function of the RecordSet object.<BR><BR> "Select * from table", conn<BR>recordArray = rs.getRows()<BR><BR>Be sure to open the recordset in the adopenstatic cursor mode.<BR><BR>Hope I was clear<BR><BR>Thanks<BR>-- Simhan<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