Hi,
I have a slight idea of what this means: oRs.EOF
It is the end of the file recordset that is returned after a query. However, i would like to know the significane in using this and how to implement it. For example i saw it in this code:
If oRs.EOF Then
Response.Write "<td style=""width:100%;text-align:center; padding-left:30px; padding-right:30px; padding-top:10px"">"
Response.Write "<script language='javascript' type='text/javascript'>window.onbeforeunload = null;</script>"
Response.Write "<form method=GET name=""form1"" action=""create_request.asp"" >"
Response.Write "<B>Sorry, you are not able to modify this request. It has already been submitted</B><BR>"
Response.Write "<input type=hidden name='BTNSave' value=""Submit"">"
Response.Write "<input name='BTNSubmit' type=hidden>"
Response.Write "<input type=hidden name=""id"" value="""& requestID &""">"
Response.Write "</form>"
Response.Write "</table>"
Response.End
End If
what is this if statement implying? And what does the recordset have to to with this? Thanks
I have a slight idea of what this means: oRs.EOF
It is the end of the file recordset that is returned after a query. However, i would like to know the significane in using this and how to implement it. For example i saw it in this code:
If oRs.EOF Then
Response.Write "<td style=""width:100%;text-align:center; padding-left:30px; padding-right:30px; padding-top:10px"">"
Response.Write "<script language='javascript' type='text/javascript'>window.onbeforeunload = null;</script>"
Response.Write "<form method=GET name=""form1"" action=""create_request.asp"" >"
Response.Write "<B>Sorry, you are not able to modify this request. It has already been submitted</B><BR>"
Response.Write "<input type=hidden name='BTNSave' value=""Submit"">"
Response.Write "<input name='BTNSubmit' type=hidden>"
Response.Write "<input type=hidden name=""id"" value="""& requestID &""">"
Response.Write "</form>"
Response.Write "</table>"
Response.End
End If
what is this if statement implying? And what does the recordset have to to with this? Thanks