Show label only if page has data

  • Thread starter Thread starter Razor
  • Start date Start date
R

Razor

Hi,

Is there a way to show column titles (labels) in my report
only if there is data (detail section) on that page?

Perhaps something like a flag setting?

Thanks!
Razor
 
Hi Razor,

My name is Dennis Schmidt. Thank you for using the Microsoft Newsgroups.

Use the reports OnNoData event procedure to have some simple code like:

Me!Label0.Visible = False

If the report has no records, the label will not show.

I hope this helps! If you have additional questions on this topic, please
reply to this posting.

Need quick answers to questions like these? The Microsoft Knowledge Base
provides a wealth of information that you can use to troubleshoot a problem
or answer a question! It's located at
http://support.microsoft.com/support/c.asp?M=F>.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

Regards,
Dennis Schmidt
Microsoft Support
 
Back
Top