I have a subform in which I want to highlight the current record.
I do this by having a hidden field CurrentID into which I copy the record ID when the record gets focus. I then use conditional formatting to light up the record on condition RecordID=CurrentID (for all the visible fields). Works like a treat EXCEPT... I have used the main forms KeyDown sub to use <down arrow> to move into the subform and, would you believe it, only the field that takes the focus gets lit up, not the whole record. As soon as I start moving around the subform - no problem, whole records light up. I am new to this game of threading so sorry if I am totally incoherent.
I do this by having a hidden field CurrentID into which I copy the record ID when the record gets focus. I then use conditional formatting to light up the record on condition RecordID=CurrentID (for all the visible fields). Works like a treat EXCEPT... I have used the main forms KeyDown sub to use <down arrow> to move into the subform and, would you believe it, only the field that takes the focus gets lit up, not the whole record. As soon as I start moving around the subform - no problem, whole records light up. I am new to this game of threading so sorry if I am totally incoherent.