Referring to the backcolor of the header on a subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have tried the following - neither works - in order to change the back
color of the header on my subform when the parent has the focus.

Me!sfrmSrcDivision.FormHeader.BackColor = lngYellow
Me!sfrmSrcDivision.Form!FormHeader.BackColor = lngYellow

Any guidance would be greatly appreciated.
 
SHIPP said:
I have tried the following - neither works - in order to change the back
color of the header on my subform when the parent has the focus.

Me!sfrmSrcDivision.FormHeader.BackColor = lngYellow
Me!sfrmSrcDivision.Form!FormHeader.BackColor = lngYellow


You forgot the Form property:

Me!sfrmSrcDivision.FORM.FormHeader.BackColor = lngYellow
 
Back
Top