Hi
I have a database with forms and queries and the tables linked to a seperate database.
How can I updated the recordset in a linked table directly from a form in the other database.
I can do it if the tables were in the same database as the queries and forms using but how would i change the code to update a linked table?
I have a database with forms and queries and the tables linked to a seperate database.
How can I updated the recordset in a linked table directly from a form in the other database.
I can do it if the tables were in the same database as the queries and forms using but how would i change the code to update a linked table?
Code:
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("tblxxx)
rst.Index = "PrimaryKey"
rst.Seek "=", Me.xxxx
rst.Edit
rst!xxx = Date
rst!.Update
rst.Close