I found a solution online for highlighting the current row of a continuous sub-form. I have implemented highlighting a row in a sub-form of a "Tab Control" parent form as follows:
1) I created a hidden unbound text control in the continuous sub-form named, "txtSelectedRecord".
2) Then in the sub-form On Current property, I added this code:
Code:
Private Sub Form_Current()
Me.txtSelectedRecord = Me.[ID]
End Sub
3) Then, for all the fields in the row of the continuous sub-form, I did the "Conditional Formatting", and entered the rule, "[ID] = [txtSelectedRecord]" for the property, "Expression Is"
This method works fine in the sub-form of a "Tab Control" parent form, but it does not work for a sub-form of a "Navigation Control" parent form. All the rows get the same highlighted background color. I suppose the "Me." does not work properly within the context of a "Navigation Control" parent. How should I modify this to make it work?