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!

Supression Formula

Status
Not open for further replies.

Bluejay07

Programmer
Mar 9, 2007
780
CA
Hello,

I am looking for assistance on how to properly formulate a suppression formula.
Code:
{OEORDH.TYPE}=4;
{OEORDD.QTYBACKORD}<=0;
The result is that '{OEORDD.QTYBACKORD}<=0;' is being executed while '{OEORDH.TYPE}=4;' is not being executed.

How can I get both values to execute? This formula is placed in the supression formula section of section expert.

Thank you.

If at first you don't succeed, then sky diving wasn't meant for you!
 
I should have added:
This formula is placed in the details supression formula section of section expert.

If at first you don't succeed, then sky diving wasn't meant for you!
 
The following seems to work properly:
Code:
WhilePrintingRecords;
({OEORDH.TYPE}=4) or ({OEORDD.QTYBACKORD}<=0);

If at first you don't succeed, then sky diving wasn't meant for you!
 
You don't need the 'whileprintingrecords;' or the parens (in this case). Neither hurt though.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top