Access front end and SQL server back end.
I'm used to working with unbound forms and DAO.
I was told I could actually bind a form to a specific table / record using an ADO recordset (without linking the table into the db) and then be able to update it. I created the connection string and the recordset...can pull up the specific record, but it doesn't allow me to edit it. The table itself is located in the SQL Server...
Set rs = New ADODB.Recordset
rs.Open xsql, ISODBC, adOpenDynamic, adLockOptimistic
'Set the form's Recordset property to the ADO recordset
Set Me.Recordset = rs
Does anyone else do this and do you have any ideas what I might be doing wrong?
I'm used to working with unbound forms and DAO.
I was told I could actually bind a form to a specific table / record using an ADO recordset (without linking the table into the db) and then be able to update it. I created the connection string and the recordset...can pull up the specific record, but it doesn't allow me to edit it. The table itself is located in the SQL Server...
Set rs = New ADODB.Recordset
rs.Open xsql, ISODBC, adOpenDynamic, adLockOptimistic
'Set the form's Recordset property to the ADO recordset
Set Me.Recordset = rs
Does anyone else do this and do you have any ideas what I might be doing wrong?