Struggling with this one. I have the below INSERT INTO statement. Using vs2013 Express Visual Basic.
SQLStr = "INSERT INTO Clients " _
& "(ClientID, EIN) VALUES " _
& "('Name', TIN);"
My err msg: "A first chance exception of type 'System.data.oledb.oledbException"
"Additl info:No value given for one or more required parameters."
My conn: ConnStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\T&NDevelop\EFTPS_Access_TestSQL__App.vbp\Database6.accdb;"
Thinking I have an sql mistake? Variables look right on when debug. Could it be something other than the sql stmnt?
Thank You,
Tom
SQLStr = "INSERT INTO Clients " _
& "(ClientID, EIN) VALUES " _
& "('Name', TIN);"
My err msg: "A first chance exception of type 'System.data.oledb.oledbException"
"Additl info:No value given for one or more required parameters."
My conn: ConnStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\T&NDevelop\EFTPS_Access_TestSQL__App.vbp\Database6.accdb;"
Thinking I have an sql mistake? Variables look right on when debug. Could it be something other than the sql stmnt?
Thank You,
Tom