Can anyone see where the error is coming from?
Here is the code:
sTr="Insert Into Contacts ([First Name],[Last Name],Group,Address,City,State,Zip,Phone,Cell,Other,Fax,Email,Notes,Website) " & _
"Values ('" & Request("fname") & "', '" & _
Request("lname") & "', '" & _
Request("group") & "', '" & _
Request("address") & "', '" & _
Request("city") & "', '" & _
Request("state") & "', '" & _
Request("zip") & "', '" & _
Request("phone1") & Request("phone2") & Request("phone3") & "', '" & _
Request("cell1") & Request("cell2") & Request("cell3") & "', '" & _
Request("other1") & Request("other2") & Request("other3") & "', '" & _
Request("fax1") & Request("fax2") & Request("fax3") & "', '" & _
Request("email") & "', '" & _
Request("notes") & "', '" & _
Request("website") & "')"
And here is the result:
Insert Into Contacts ([First Name],[Last Name],Address,City,State,Zip,Phone,Cell,Other,Fax,Email,Notes,Website) Values ('Jimmy', 'Hoffa', '', 'Chicago', 'IL', '60033', '6305551212', '', '', '', '', 'Gangster', '')
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Field 'Contacts.Cell' cannot be a zero-length string.
/contacts.asp, line 28
Here is the code:
sTr="Insert Into Contacts ([First Name],[Last Name],Group,Address,City,State,Zip,Phone,Cell,Other,Fax,Email,Notes,Website) " & _
"Values ('" & Request("fname") & "', '" & _
Request("lname") & "', '" & _
Request("group") & "', '" & _
Request("address") & "', '" & _
Request("city") & "', '" & _
Request("state") & "', '" & _
Request("zip") & "', '" & _
Request("phone1") & Request("phone2") & Request("phone3") & "', '" & _
Request("cell1") & Request("cell2") & Request("cell3") & "', '" & _
Request("other1") & Request("other2") & Request("other3") & "', '" & _
Request("fax1") & Request("fax2") & Request("fax3") & "', '" & _
Request("email") & "', '" & _
Request("notes") & "', '" & _
Request("website") & "')"
And here is the result:
Insert Into Contacts ([First Name],[Last Name],Address,City,State,Zip,Phone,Cell,Other,Fax,Email,Notes,Website) Values ('Jimmy', 'Hoffa', '', 'Chicago', 'IL', '60033', '6305551212', '', '', '', '', 'Gangster', '')
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Field 'Contacts.Cell' cannot be a zero-length string.
/contacts.asp, line 28