Hello
I am getting the following error message and do not understand it:
[Microsoft][ODBC Microsoft Access Driver] Field 'users.subject' cannot be a zero-length string.
/myFlash/welcomeFlash.asp, line 20
Line 20 concerns an insert into the database. Do I need to change the database field so that it does not allow zero-length strings?
<%
Dim fullname,email,subject,country,message
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "driver={Microsoft Access Driver (*.mdb)};DBQ=D:\Flashform.mdb;"
set rs = Server.CreateObject("ADODB.recordset")
SQL="INSERT INTO users (fullname, email, subject,country, message) VALUES ('" & _
fullname & "', '" & email & "','" & subject & "', '" & country & "', '" & message & "')"
rs.Open SQL, conn
Set rs=Nothing
conn.Close
Set conn=Nothing
%>
I am getting the following error message and do not understand it:
[Microsoft][ODBC Microsoft Access Driver] Field 'users.subject' cannot be a zero-length string.
/myFlash/welcomeFlash.asp, line 20
Line 20 concerns an insert into the database. Do I need to change the database field so that it does not allow zero-length strings?
<%
Dim fullname,email,subject,country,message
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "driver={Microsoft Access Driver (*.mdb)};DBQ=D:\Flashform.mdb;"
set rs = Server.CreateObject("ADODB.recordset")
SQL="INSERT INTO users (fullname, email, subject,country, message) VALUES ('" & _
fullname & "', '" & email & "','" & subject & "', '" & country & "', '" & message & "')"
rs.Open SQL, conn
Set rs=Nothing
conn.Close
Set conn=Nothing
%>