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

Suppressing 1

Status
Not open for further replies.

parsnipdigdug

Programmer
Feb 4, 2009
2
US
I have a Group Footer section that I want to supress if 2 of the six columns are equal zero. There may be data in the other 4 columns
 
Try this as the suppression fromula for your section

local numbervar suppress

If column1 = 0 Then Suppress :=1;
if column2 = 0 then Suppress := Suppress + 1;
if column3 = 0 then Suppress := Suppress + 1;
if column4 = 0 then Suppress := Suppress + 1;
if column5 = 0 then Suppress := Suppress + 1;
if column6 = 0 then Suppress := Suppress + 1;

Suppress > 1

HTH

Gary Parker
MIS Data Analyst
Manchester, England
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top