Hi,
I'm using following code to select a record on a form from dropdown list and I'm using MSSQL ODBC linked tables inside MS Access:
But I have a problem, if one person opens form A and select one of the records from the dropdown list it works fine. Now at the same time if second person open the same form A from the same copy of MSAccess the first form A starts pointing to the new record selected by second person and save changes to the newly selected record. How can I prevent this from happening, so that each instance of form A points to its selected record?
Thanks
I'm using following code to select a record on a form from dropdown list and I'm using MSSQL ODBC linked tables inside MS Access:
Code:
Private Sub cboFind_AfterUpdate() Dim strCriteria As String Dim rst As DAO.Recordset Set rst = Me.RecordsetClone strCriteria = "[EmployeeID] = " & Me![cboFind] rst.FindFirst strCriteria Me.Bookmark = rst.Bookmark End Sub
Thanks
Comment