I'm passing a recordset and a string into a Function.
I want to return True if mystring is present in the Name columm in the recordset.
Testing (so far) has
r3.Find "Name = '" & mystring & "'"
Debug.Print r3.NoMatch
It's going to error "Method or data member not found" on r3.Find
afaik "find" is a member so I'm a bit stuck.
Also what I don't know yet, is a loop though every record needed (in which case I can bin 'Find' and just check each value), or will it automatically look at all records?
I want to return True if mystring is present in the Name columm in the recordset.
Testing (so far) has
r3.Find "Name = '" & mystring & "'"
Debug.Print r3.NoMatch
It's going to error "Method or data member not found" on r3.Find
afaik "find" is a member so I'm a bit stuck.
Also what I don't know yet, is a loop though every record needed (in which case I can bin 'Find' and just check each value), or will it automatically look at all records?