G
Guest
This code runs after a click on Me.ComBx2. The combox is based on a query
using two tables, DonorTbl & MatchTbl. I want to go to the record in
MatchTbl which matches the combox. The field in MatchTbl is MchDonID. But
rst.NoMatch keep coming up True. I THINK my problem is that I don't know how
to refer to the table. Any help would be much appreciated. Thanks.
Dim rst As DAO.Recordset
Set rst = Me.RecordsetClone
With rst
..FindFirst "[MchDonID]= '" & Me.ComBx2.Column(0) & "'"
End With
using two tables, DonorTbl & MatchTbl. I want to go to the record in
MatchTbl which matches the combox. The field in MatchTbl is MchDonID. But
rst.NoMatch keep coming up True. I THINK my problem is that I don't know how
to refer to the table. Any help would be much appreciated. Thanks.
Dim rst As DAO.Recordset
Set rst = Me.RecordsetClone
With rst
..FindFirst "[MchDonID]= '" & Me.ComBx2.Column(0) & "'"
End With