Hi ASP gurus -
Problem: What the user enters into the Form is not getting placed into the table record.
Thanks for any suggestions.
John
ASP # 1 Input Form
This is some of the code in the ASP that accepts user input:
<FORM ACTION="ISSystemsAccessVerify.ASP" NAME="frmReq" METHOD="POST"
onSubmit="return ValidateInput()">
Please enter your First Name
<INPUT TYPE=TEXT NAME="NameFirst" Size="15" Maxlength="15">
This is the ASP that writes the database record... but what
the user entered into the Form is not getting placed into
the record.
ASP # 2 Add DB record
<!--#include file="ISSystemsAccessConnect.asp"-->
<%
Dim sql
Dim strNameLast
strNameLast = Request.Form("NameLast"
sql = "INSERT INTO SystemsAccessReqs (UserNameL) VALUES ('" & strNameLast & "');"
conn.execute sql
%>
Problem: What the user enters into the Form is not getting placed into the table record.
Thanks for any suggestions.
John
ASP # 1 Input Form
This is some of the code in the ASP that accepts user input:
<FORM ACTION="ISSystemsAccessVerify.ASP" NAME="frmReq" METHOD="POST"
onSubmit="return ValidateInput()">
Please enter your First Name
<INPUT TYPE=TEXT NAME="NameFirst" Size="15" Maxlength="15">
This is the ASP that writes the database record... but what
the user entered into the Form is not getting placed into
the record.
ASP # 2 Add DB record
<!--#include file="ISSystemsAccessConnect.asp"-->
<%
Dim sql
Dim strNameLast
strNameLast = Request.Form("NameLast"
sql = "INSERT INTO SystemsAccessReqs (UserNameL) VALUES ('" & strNameLast & "');"
conn.execute sql
%>