For best help from forums you should indicate what line the errors occurs on, why omit this important part of the error???
is it becasue Request.form("trecord") doesnt have a value or is the value a string maybe (I assume from your code you expect a number)? if so wrap this around your code:
if cint(Request.form("trecord")) > 0 then
'place your code here
else
response.write "You form doen not contain a number"
end if
Of is it becasue of this line:
Response.write L_NAME0
Based on your code shouldnt this say 'L_NAME' ?
'L_NAME0' is just the value which is asigned the first time through your loop, if you code is getting to the loop! If you gave us the line number we would know this. To get the line number make sure you un-tick 'show friendly HTTP errors' (Tools/internet option/ advanced)
__________________
Wind is your friend
Matt
|