Referring to the backcolor of the header on a subform

S

SHIPP

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.
 
M

Marshall Barton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top