Basically you want this code on each controls' On Got Focus event. I don't think you would use it on the form's On Current Event. You would have to set and remove highlighting with this event.
The problem with this is that you will also have to do this to REMOVE highlighting for the record.
You may have to create a public variable to hold a RecordNumber, and then highlight and unhighlight based on the recordnumber.
Why do you need this functionality, if you don't mind asking?
HTH
mmcdonal
|