reports

C

chris morrison

I have a table (xxx)that has two checkbox columns, column1
and column2. In my report, if a record has the column1
marked yes (checked), then I would liked fields
a,b,c,d,e,f,g printed. If, on the other hand, column2 is
marked yes (checked), then I want the additional fields
h,i, and j printed. My report is based on a query that I
designed from table xxx. On the query, I have yes marked
in column1 or yes in column2.

Here is the problem. I am printing h, i, and j for all
records. How do I print the extra fields for only records
marked yes in column2. Thanks, chris
 
C

chris Morrison

Yes, I am pre 2000. Thanks for your help
-----Original Message-----
Check out Conditional Formatting. If you are running pre- 2000 versions, come
on back.

--
Duane Hookom
MS Access MVP





.
 
D

Duane Hookom

Then you must use code in the On Format event of the section that contains
all of these fields bound to controls.

Me.txtH.Visible = Me.chkColumn2 = True
Me.txtI.Visible = Me.chkColumn2 = True
Me.txtJ.Visible = Me.chkColumn2 = 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