array problem

Results 1 to 2 of 2

Thread: array problem

  1. #1
    Annie Guest

    Default array problem

    hi,<BR><BR>i am in a big problem.<BR>the results of previous form gave me this result,<BR><BR>46520400, 46120400, 46120400-05, 46120400-06, 46220400, 46220400-05, 46220400-06 <BR>so the string which contains the above is called mstrProdList<BR><BR>now i need to put these in an array and should be able to access each number as arraypr(0). arraypr(1) etc<BR>how do i do this??please help me.<BR><BR>

  2. #2
    sampath Guest

    Default RE: array problem

    if suppose your are getting from some rsarray (some recordset)<BR>then assign like this into an array<BR><BR>newarray = split(rsarray("fieldname"),",")<BR>then write newarray(0) etc you will get the values.<BR>Hope it works.

Posting Permissions

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