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!

Suppressing headers that contain no values

Status
Not open for further replies.

WorkerBeeJ

Programmer
Aug 6, 2002
34
US
I've got a report structured like the following:

Group Header #1: Checklist Header
Group Header #2: Checklist Item
Details: Checklist Item Details and Subreport of Comments

The report takes parameters of: "DisplayCompletedItems" and "DisplayPendingItems". The third type of item is "Outstanding", which is always displayed.

If the user chooses to not to display Completed or Pending items, and there are no Outstanding items in a group, how can I suppress Group Header #1?

What does it mean "put the formula in the section". Won't the value of the formula then display on the report? I don't want the user to see that.

Thanks!
Jennifer
 
Try going to the section expert->group header->suppress->x+2 and entering:

isnull({table.outstandingitem})

-LB
 
Thanks for the quick reply! I am desparate!

It's not just one item I'm checking for null. The following list is one example of one i'm having a hard time with:

Group Foo:
Item is Pending
Item is Pending
Item is Completed
Item is Completed
Item is Pending

Given that there are no items that are "Outstanding" in the group and the user has chosen not to display "Pending" or "Completed" items, the header should not display.

I think I need some sort of a counter within the details section.
 
Please explain what your group field is and also whether "Pending","Completed", and "Outstanding" are instances of the same field (like {table.status}), or whether they are separate fields.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top