I've been trying to accomplish this by using the On Paint event on the subform. I have been playing with several iterations of the following.
Expand|Select|Wrap|Line Numbers
- If Me!Past_Medical_History_T_subform.Form!UpdatedBy.Value = Null Then
- Me.btn_PastMedicalHistory.BorderColor = RGB(255, 224, 0)
- Else
- Me.btn_PastMedicalHistory.BorderColor = RGB(32, 56, 100)
- End If
The unique field that links all forms and subforms is MRN (Medical Record Number).
I realize that if I can get it to work on the subform I will have to move this code to the main form and modify it slightly but for now I am just tying to get it to work on the subform.
Any suggestions would be greatly appreciated!