I get this error with the FindFirst statement. Code is below.
If Assgnrst.CompID <> 0 Then
ComID = Assgnrst!CompID!Value
Debug.Print Assgnrst.MemberID, ComID
FindFirststr = "Assgnrst.MemberID = " & ComID & ""
Debug.Print FindFirststr
Assgnrst.FindFirst (FindFirststr) -- The error happens on this line
The results of Debug.Print:
MemberID & ComID: 1049 1304
FindFirststr: Assgnrst!MemberID = 1304
Other fields in Assgnrst are being recognized. MemberID is a field in Assgnrst (as shown in the first Debug.Print). What could be the issue?