Hi, anyone knows how I can check for common fields in two recordsets?
If rst1.ID = rst2.ID Then
MsgBox ""
Else
MsgBox "There are no matches"
End If
I assume this code is after you have selected both recordsets.
If rst1.ID = rst2.ID Then
MsgBox ""
Else
MsgBox "There are no matches"
End If
Access properties, methods, objects, etc.. are referenced using the period.
rst1.EOF, rst1.RecordCount, rst1.MoveFirst
Variable names which are part of a select statement are referenced using the !
rst1!ID, rst2!ID, etc...
Thanks cmmrfds. Please tell me how to select the recordsets? I cant' seem to define the table in the form itself, keeps coming up with error for the table. Please help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.