Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change text color subform on main form

Status
Not open for further replies.

qplo

Technical User
Jun 16, 2008
2
US
I have a subform, change text color, but on the n=main form with this sub form, the text color not change. How do I change text color and background color. Thanks
 

Something like this ?
Code:
Forms!frmMain.FormHeader.BackColor = vbGreen
Forms!frmMain.FormFooter.BackColor = vbYellow
Forms!frmMain.Detail.BackColor = vbWhite


Randy
 
I'm not sure where these code go to. Can you show me detail
Many thanks
 
Telling use how you intend changing the text colour will help.

Ian Mayor (UK)
Program Error
If people say I have bad breath, then why do they continue to ask me questions and expect me to answer them?
 

What will happen that should cause the color change to occur?


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top