Here's the code:
Private Sub btdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btdAdd.Click
'Sets up the connection to the database
'Dim myConn As New OleDb.OleDbConnection()
'Dim sql As String
con.Open()
Dim cmd As New OleDb.OleDbCommand ("INSERT INTO Contacts(Company, First, Last, Title, Address, City, State," & _
"ZipCode, OfficePhone, CellPhone, AssitantPhone, Fax, [INDENT][/INDENT]Website, Country, Debt," & _
[INDENT][/INDENT]"Equity, Mezzanine, Credit [INDENT][/INDENT]Enhancement)" & _
"VALUES('" & txtcompadd.Text & "', '" & txtFname.Text & "'," & _
"'" & txtLName.Text & "'," & _
"'" & txtTitleadd.Text & "', '" & txtaddressadd.Text & "'," & _
"'" & txtCityAdd.Text & "', '" & cbStateadd.Text & "'," & _
"'" & txtZipAdd.Text & "', '" & txtOffice.Text & "'," & _
"'" & txtCell.Text & "', '" & txtAssistant.Text & "'," & _
"'" & txtFaxAdd.Text & "', '" & txtWebAdd.Text & "'," & _
"'" & cbCountryAdd.Text & "', '" & cbdebt.CheckState & "'," & _
"'" & cbequity.CheckState & "', '" & cbmezzanine.CheckState & "'," & _
"'" & cbcredit.CheckState & "')"
I'm getting the error: Syntax error in INSERT INTO statement.