Hello. The script I am working on is below. It is saying that the array value "SplitUser(0)" Is out of range. If I would put the code, in red, into the actual script, all the arrays i am trying to get do have a value, but for some reason they are like not being found. Any help would be great! Thanks a lot! **THE RED IS NOT ACTUALLY IN THE SCRIPT I WANT, JUST DID IT TO MAKE SURE THERE ARE VALUES FOR THE ARRAY ELEMENTS!
Code:
For UserCount = LBound(Users) To UBound(Users)
SplitUser = Split(Users(UserCount),",",-1,1)
PlayerInfo.AddNew
For SplitCounter = LBound(SplitUser) To UBound(SplitUser)
Response.Write SplitUser(SplitCounter) & "<BR>"
Next
PlayerInfo("TournamentID") = TournamentID
PlayerInfo("PinNumber") = SplitUser(0)
PlayerInfo("FirstName") = SplitUser(1)
PlayerInfo("LastName") = SplitUser(2)
PlayerInfo.Update
Next