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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Null SubReport

Status
Not open for further replies.

Viracocha

Technical User
Jan 30, 2004
3
FR
Hello all !!

How i can testing if my subreport is empty ? Like a "IsNull{SUBREPORTNAME}"

Thanks a lot and sorry for my poor english.

 
1. Run the subreport and see if any dat is returned.
2. Create a shared var based on a specific data result, and pass it over to the main report to indicate it is empty.
3. Look at the report when it is run, and see if the sub is returning data.
 
bobPV is right. The only thing I can add is that you should put your sub-report in a sub-section and then form the sub-report to "underlay following sections" in the section expert. Or you may have to have two versions of the sub-report: One to decide if it is null and one to actually print it. You would use a shared variable from the first to decided if you want to suppress the section with the second.

Howard Hammerman,
Crystal Training and Crystal Material
On-site and public classes
Low-cost telephone/email support
FREE independent Crystal newsletter
howard@hammerman.com
800-783-2269
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top