Conditional Visibility of Label in Report

  • Thread starter Thread starter nathan sanders
  • Start date Start date
N

nathan sanders

Hi,

I have a Discount label & text box on my Invoice report.

Problem is, I would rather that they didn't appear for on invoices for
customers who do not get a discount.

Is there a way of controlling the visibility of these based on the value of
the text box?

Cheers
Nathan
 
In the OnFormat Property of the section where the fields are, put the code

Me.discountLabelName.visible = nz(me.Discount,0)
Me.discountTextName.visible = nz(me.Discount,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

Similar Threads


Back
Top