How can I conditionaly suppress my report header?

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

If the record count for my report is a certain value, I want to supress the
report header and display only the detail section.

What object and property do I need to set to supress the report header?
 
Dave said:
If the record count for my report is a certain value, I want to supress the
report header and display only the detail section.

What object and property do I need to set to supress the report header?


Add an invisible(?) text box named txtRcordCount to the
report header and set its expression to =Count(*).

Then you can use code in the header section's Format event
procedure:

Me.Section(1).Visible = (txtRcordCount <> certainvalue)
 

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