recordset.find using variable VBA ADODB
问题 I am getting pretty desperate trying to get this trivial search to work: rst2.Find "ID = '" & messID & "'" I have tried just about any combination but it just never returns a search result. the whole code would be here: Option Compare Database Option Explicit 'Modul zum Updaten des Status eines Messmittels in der Stammdatenbank (Entnommen/Verfügbar)3 Public Function updateStatus() Dim rst2 As ADODB.Recordset Dim rst As ADODB.Recordset Dim messID As String Set rst = New ADODB.Recordset