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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Color of Form Header

Status
Not open for further replies.

zevw

MIS
Jul 3, 2001
697
US
I would like to change the Back Color of a "form header" with code based on a certain value in a query:

Lets say

if type is 1 change the back color to yellow

if type is 2 change the back color to pink
 
Code:
  Me.Section(1).BackColor = RGB(255, 255, 0)  'yellow


VBSlammer
redinvader3walking.gif

[sleeping]Unemployed in Houston, Texas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top