I recently "dusted off" an older application, Access 2010 running under XP. I went to make some changes in a Win 10 Pro environment, and discovered that just about all the RecordSet operations failed. In particular, I have a simple screen that generates the following error code: "Operation is not supported for this type of object." I believe it is a Library Reference order problem, or something similar. The code is as follows:
Dim stLinkCriteria As String
Dim tblOperator As DAO.Recordset
Set tblOperator = Application.CurrentDb.OpenRecordset("Operators")
cboOperator.SetFocus
If cboOperator.Text = "" Then Exit Sub
tblOperator.FindFirst "Operator = '" & glbOperator & "'" (IT BOMBS HERE)
tblOperator.Edit
...
Does anyone have a sense of direction for this issue? Thank you in advance
Dim stLinkCriteria As String
Dim tblOperator As DAO.Recordset
Set tblOperator = Application.CurrentDb.OpenRecordset("Operators")
cboOperator.SetFocus
If cboOperator.Text = "" Then Exit Sub
tblOperator.FindFirst "Operator = '" & glbOperator & "'" (IT BOMBS HERE)
tblOperator.Edit
...
Does anyone have a sense of direction for this issue? Thank you in advance