Subscript Error, again!

Results 1 to 2 of 2

Thread: Subscript Error, again!

  1. #1
    Beni Guest

    Default Subscript Error, again!

    Can anyone help? Have this error message when I run my code:<BR><BR>Microsoft VBScript runtime error &#039 800a0009&#039 <BR><BR>Subscript out of range: &#039 46&#039 <BR><BR>/TransferInitiation.asp, line 384 <BR><BR>This offending line and following is below. Any ideas on how to fix this?<BR><BR>Line 384 and following:<BR><BR> if currIds(indx) = currentVal then<BR> &#039If so, put its name in the list.<BR> strSelectCurrency = strSelectCurrency & currNames(indx)<BR> end if<BR><BR>Thanks<BR>Beni

  2. #2
    Richard A. Lowe Guest

    Default Check the indx

    Your array: currIds(indx) is having 46 passed to it to dereference (get the value of) but there is no 46 in the array, check the logic you are using - should this array have 46 or more elements??? Or what?<BR><BR>Richard

Posting Permissions

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