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

conditional supress 1

Status
Not open for further replies.

yehong

Programmer
Sep 22, 2003
291
US
I need to supress the lines and show one line only when the amount field is repeated.
Here is an example data:

Date Amount
01/01/04 4000.00
07/01/04 4000.00
12/31/04 4000.00

So, here is how it should appear on the report
01/01/04 4000.00.

Both fields are in the details section. How do I compare the Amounts and decide if they are repeating and then supress?
 
right click on the detail section and choose "format section" or "section expert" depending on your crystal version. Click on the formula button for suppresion (x-2).

Add:

{table.amount} = previous({table.amount})

placing your actual field in {table.amount}

One note, this only changes the display, the suppressed amounts will still show up in totals etc.

Lisa

 
Lisa, it worked like removing a hair from butter.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top