Results 1 to 2 of 2

Thread: Array

  1. #1
    Join Date
    Dec 1969

    Default Array

    Do Until RS.EOF<BR>Response.Write RS.Fields("DATA_TYPE").Value <BR>RS.MoveNext<BR>Loop<BR><BR>RS.Fields("DATA_TYP E") is having 4 records (E,A,S,F). I need to store these 4 values in 1 variable and send to another page. Please help me with some syntax

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Why array??

    Do Until RS.EOF<BR>if variable &#060;&#062; "" then variable = variable & ","<BR>variable = variable & RS.Fields("DATA_TYPE").Value <BR>RS.MoveNext<BR>Loop<BR><BR><BR>or lose the IF and remove the LAST char of variable outside the loop...that is how i would do it &#060;Shrug&#062;<BR><BR><BR>after you are done, just send variable to the page you want to<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