If I use a combo box to go to a particular reocord in on a list of records, how do I change the colour of that records text so that it stands out from the rest of the records?
My code for the combo is:
Sub Combo44_AfterUpdate()
Detail.Visible = True
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[OBJECT_NO] = " & Me![Combo44]
Me.Bookmark = Me.RecordsetClone.Bookmark
DoCmd.GoToControl "object_no"
End Sub
As my form is a tabluated form, I could do with either hiding all the records that are not selected using the above, or by highlighting all the fields in the selected record?
Any ideas would be gratefully received!
Thanks and merry christmas to everyone!
Emma
My code for the combo is:
Sub Combo44_AfterUpdate()
Detail.Visible = True
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[OBJECT_NO] = " & Me![Combo44]
Me.Bookmark = Me.RecordsetClone.Bookmark
DoCmd.GoToControl "object_no"
End Sub
As my form is a tabluated form, I could do with either hiding all the records that are not selected using the above, or by highlighting all the fields in the selected record?
Any ideas would be gratefully received!
Thanks and merry christmas to everyone!
Emma