Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub Reports has no data and hanging

Status
Not open for further replies.

teqtaq

Technical User
Nov 18, 2007
197
US
I have 10 SubReports.
Sub #1 ia often has no data so Sub#2 comes up and everything is just fine.
However when Sub#4 or another one on the middle has no data - Report would be hanging when trying to scroll trough the pages.
Max pages are 25. It is not a huge Report.
I use to use code to show label when Report is blank:
Me.Label16.Visible = Not Me.Internet.Report.HasData

I am thinking if there is the similar code for the Sub dat HasData False should be Visible False?

I am open for suggestions. Thanks
 
How about setting Cancel = True on the subforms' OnNoData() events?

"Don't be irreplaceable. If you can't be replaced, you can't be promoted."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top