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

How do I show a check box only if the Value is yes 2

Status
Not open for further replies.

czarjosh

Technical User
Jul 14, 2002
79
0
0
US
I have a check box field on a report, and I only want it to be visible IF the value of the field equals YES. How can I accomplish this.
 
You can add code to the On Format property of the section containing the check box:
Me.[chkMyCheckBox].Visible = Me.[chkMyCheckBox] = -1


Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Duane,

Found the answer to my question by searching past post.
Here's your star for helping me.

Wes
 
A neat way is...
=IIf([value]=True,"i can read this","")

put this in the control source of a textbox put on the report...

substituting "value" for the checkbox name
and "i can read this" for the text you want to display



Program Error
Why is it, I still think in terms of spectrum BASIC!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top