hello my name is Jools... im quite new to asp and have a problem...
sorry if i am not ment to post it here...
Basically I have a page with a form where the user can select details…. This then searches a database for the results and then each result is then written to a page. (so far so good)
Then… next to the results is a check box….
response.write "<td width=""25%""><input type=""checkbox"" name=""list"" value="""
this is in a loop so their could be any number of them…
if a check box is ticked then the value is saved in the array.
Now for the problem….
On the next asp page where this information is sent I have this…
iArraySize = (UBound(request.form("list")) - LBound(request.form("list"))) + 1
I also tried this…… just to see if it was because it didn’t like reading it from the form….
iArraySize = (UBound(arrtick) - LBound(arrtick)) + 1
for both it comes up with Type mismatch: 'UBound'
am I just missing some way of telling it that it is an array?
If I response.write request.form("list")
It does show the values separated by comers so I know the information is there.
i will be very gratefull to anyone who has the answer to this...