visible fields

A

Amin

Hi
I have a subreport based on query with 25 (Yes/No)fields.
how can I make those fields visible if the value is Yes
Thanks
 
M

Marshall Barton

Amin said:
I have a subreport based on query with 25 (Yes/No)fields.
how can I make those fields visible if the value is Yes

In the Format event of the section containing the 25
controls:

Me.control1.Visible = (Me.control1 = True)
Me.control2.Visible = (Me.control2 = True)
. . .
 
A

Amin

Thanks Marsh
-----Original Message-----


In the Format event of the section containing the 25
controls:

Me.control1.Visible = (Me.control1 = True)
Me.control2.Visible = (Me.control2 = True)
. . .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top