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

chang label based on yes/no box 1

Status
Not open for further replies.

JMANER

IS-IT--Management
Dec 15, 2000
31
US
I have a “no phone” column in my table. If it is marked (it is yes/no) yes then I would like to make the label turn red when the record is viewed.
 
put this in the forms On_Current event

If me![no phone] = 0 then
me!Label.backcolor = vbred
else
me!Label.backcolor = vbwhite
end if

DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top