Changing BackColor in Subform

  • Thread starter Thread starter Michelle Wilson
  • Start date Start date
M

Michelle Wilson

Hello,

I have a main form called frmSales and a sub form called
subfrmContact. I need to use the subfrmContact in many
other main forms but the backColor needs to be different
and I do not want to recreate it.

How do I reference the backcolor in the subform? I have
tried the following but the syntax is incorrect.

[Forms]![frmSales]![subfrmContact].Form![Detail].BackColor

Thank you,

Michelle
 
Michelle Wilson said:
Hello,

I have a main form called frmSales and a sub form called
subfrmContact. I need to use the subfrmContact in many
other main forms but the backColor needs to be different
and I do not want to recreate it.

How do I reference the backcolor in the subform? I have
tried the following but the syntax is incorrect.

[Forms]![frmSales]![subfrmContact].Form![Detail].BackColor

Thank you,

Michelle

Try:

Forms!frmSales!subfrmContact.Form.Section(acDetail).BackColor
 
Back
Top