not printing certain columns

  • Thread starter Thread starter Guest
  • Start date Start date
If you are using Access 2k or later, you can use conditional formatting. You
can specify an Expression like
[FieldA]=0 And [FieldB]=0
You can also use code in the on format event of the section containing the
controls.

Me.txtFieldA.Visible = Not ([FieldA]=0 And [FieldB]=0)
Me.txtFieldB.Visible = Not ([FieldA]=0 And [FieldB]=0)
 

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

Back
Top