J
Jon Cosby
This project had been working before, and I put it aside for a while. Now,
I'm getting an OleDB exceptation when I attempt to insert records into the
Access database:
Dim sqlInsertCust As String = "INSERT INTO Customers (CustomerID,
CustomerName) " + _
"VALUES ('" + CStr(custID) + "', 'New Customer')"
cmdInsertCust = New System.Data.OleDb.OleDbCommand(qryInsertCust, conn)
cmdInsertCust.ExecuteNonQuery()
--OleDbException: Operation must use an updateable query
What's up here? The database is not read-only, but that's the only thing
that comes to mind. The "Select" queries work here.
I'm getting an OleDB exceptation when I attempt to insert records into the
Access database:
Dim sqlInsertCust As String = "INSERT INTO Customers (CustomerID,
CustomerName) " + _
"VALUES ('" + CStr(custID) + "', 'New Customer')"
cmdInsertCust = New System.Data.OleDb.OleDbCommand(qryInsertCust, conn)
cmdInsertCust.ExecuteNonQuery()
--OleDbException: Operation must use an updateable query
What's up here? The database is not read-only, but that's the only thing
that comes to mind. The "Select" queries work here.