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

Problem suppressing empty rows with Crosstab object

Status
Not open for further replies.

ebutter

Technical User
Feb 17, 2005
77
US
V10
xml data with ADO.NET driver

I am using Crosstab objects to build some reports. I need to be able to conditionally suppress rows. The following doesn't work:

Year1 Year2 Year3
Row Label 1 20,000 21,000 22,000
Row Label 2 0 0 0
Row Label 3 30,000 31,000 32,000

1) Suppress Empty Rows is selected in the Crosstab expert.
2) Row Label 2 has a conditional suppression formula that check for 0's in the values field.
3) The values fields have Suppress if Zero selected on the number tab of the Custom Style dialog.

The result is that the whole row is blank, but it won't shrink up (disappear) like happens when you suppress a Section.

What am I doing wrong?

Thank you.
 
you need to do that before it becomes part of the crosstab. Do it in the record selection. Go to Report|Edit Selection Formula|Record, and then enter the formula that would eliminate the values of 0 and a specific field.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top