rcsmith0712
New member
- Local time
- Today, 08:12
- Joined
- Jun 14, 2021
- Messages
- 2
Hi Folks. I have an Access project with a sql server backend. The database was recently migrated from the original access backend to the now sql server backend. All of the queries work, but the insert and update statements are not modifying the tables/data even though access displays the append and update warning message when the insert and update statements fire. I think I need to add a connection string for the SQLOLEDB provider but I'm not sure how to do that. Also, in addition to the connection string, do I need to open a recordset for the table with data being added/modified? I added the following connection string code, Access returns a message that says "Object Required". Any assistance would be greatly appreciated. Thanks
Dim ConnStr As String
ConnStr = "Provider=SQLOLEDB;Data Source='FalconXtreme';" & _
"Initial Catalog='SacDb';Integrated Security= TRUE;"
objConn.Open ConnStr
Dim ConnStr As String
ConnStr = "Provider=SQLOLEDB;Data Source='FalconXtreme';" & _
"Initial Catalog='SacDb';Integrated Security= TRUE;"
objConn.Open ConnStr