Paulee - Are you still on-line?

Results 1 to 2 of 2

Thread: Paulee - Are you still on-line?

  1. #1
    Join Date
    Dec 1969

    Default Paulee - Are you still on-line?

    You helped me earlier with a post titled - Need help with passing form variables.<BR><BR>I am using the code example you posted and I am getting this error:<BR><BR>Microsoft VBScript runtime error &#039;800a0009&#039; <BR><BR>Subscript out of range: &#039;i&#039; <BR><BR>/quality/afo/amss/bigdb/budgetary_quote5.asp, line 490 <BR><BR>I tried changing the index to 1, that skips the first record. So 0 should be correct. It is writing all but the last record. Any ideas?

  2. #2
    Join Date
    Dec 1969

    Default A bug in what Paulee showed you...

    DescriptionArr = split(request("Description"), ",") <BR> SerialNumArr = split(request("SerialNum"), ",") <BR><BR>That&#039;s wrong. You can *NOT* do the SPLIT on COMMA alone.<BR><BR>You must SPLIT on COMMA-SPACE.<BR><BR>I don&#039;t know if this is your only problem, but it&#039;s certainly *a* problem.<BR><BR>Try:<BR> DescriptionArr = split(request("Description"), ", ") <BR> SerialNumArr = split(request("SerialNum"), ", ") <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