array of field values

Results 1 to 3 of 3

Thread: array of field values

  1. #1
    patricia Guest

    Default array of field values

    how do I turn a list of field values from a submitted form into an array. I can print these values on the screen using the code below, but I would really like to turn this into an array that can be used to write an &#039insert&#039 query:<BR><BR>for each item in Request.Form <BR> Response.write request(item) & ", "<BR>next<BR><BR>any ideas???

  2. #2
    Join Date
    Dec 1969

    Default RE: array of field values

    dim vals(number_of_fields), ncols<BR><BR>ncols = 0<BR>for each item in Request.Form <BR> vals(ncols) = request(item)<BR> ncols = ncols + 1<BR>next<BR><BR>Did I understand your question correctly?<BR>

  3. #3
    patricia Guest

    Default RE: array of field values

    Hi Derek<BR><BR>Thanks for your help. This is just what I wanted.

Posting Permissions

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