Move back to original record

P

Patrick Graham

If the record is in a subform:

Clone the record set and find the first instance of a
unique field belonging to that record.

Dim rst As Object
Set rst = Me![subClient].Form.Recordset.Clone
rst.FindFirst "[ClientID] = " &
Me.lbxJointClientsLkUp.Column(2)
If Not rst.EOF Then Me![subClient].Form.Bookmark =
rst.Bookmark
rst.Close

If it is not a sub form i think you might not need to
clone the recordset. But i dont know for sure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top