Select Found Subform Record

C

croy

I have this code (from Dirk Goldgar):

Dim frm As Form

DoCmd.OpenForm "frmDE2"

Set frm = Forms!frmDE2!frmDE2DetObj.Form

With frm.RecordsetClone
.FindFirst "DE2DetId=" & Me.txtDE2DetId
If Not .NoMatch Then
frm.Bookmark = .Bookmark
End If
End With

.... and it works very nicely.

But I'd like for the selected subform record to stand out a
little more, and I'm thinking that it would if it were
*selected* after it is found. So far my attempts have
failed. What do I need to add?
 

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