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?
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?