Type mismatch error occured when calling HTML array elements through Request.form("t xtlrno" & i) after self posting the form, please anyone help me
immediately because is in crisis.
please show what you tried, and give more detail of the error.
I am assuming you tried something like this in the form:
[html]<input name="txtlrno0" type="text">
<input name="txtlrno1" type="text">
<input name="txtlrno2" type="text">
<input name="txtlrno3" type="text">[/html]
and then you pass these to an array like this:
- dim txtlrno(3)
-
for i = 0 to 3
-
if request("txtlrno"&i) <> "" then
-
txtlrno(i) = request("txtlrno"&i)
-
end if
-
next
-
This should work, so how did you try it?
Jared