Author |
Message |
Beso90
Groupie
Joined: 12 Jun 2014
Location: United States
Online Status: Offline
Posts: 48
|
Topic: How to supress entire row (not only column) Posted: 12 Jun 2014 at 12:02pm |
Hi there.. I use SAP Crystal Reports
I'm working on a report that has a running total field.
the columns are:
Date - Invoice # - Invoice Total - Manifest #
the report keeps repeating each line four times..
my table linking is correct, I'm 100% sure.
It repeats the rows because I'm pulling the manifest number which exists on each line item of every invoice...
I want some formula to suppress any duplicate invoice number...
I tried suppress if duplicate, but that only suppresses the column for the invoice # - it doesn't suppess the whole row which is what I want - because the running total keeps repeating and that throws off the whole report...
PLEASE HELP :(
|
IP Logged |
|
Gurbs
Senior Member
Joined: 16 Feb 2012
Location: Ireland
Online Status: Offline
Posts: 216
|
Posted: 13 Jun 2014 at 12:34am |
Can't you group it by invoice #?
|
IP Logged |
|
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
|
Posted: 13 Jun 2014 at 6:39am |
you can do as Gurbs suggests but note that a Running Total does not stop evaluating just because something is suppressed. You need to alter the evaluation condition in the RT itself, like using on change of a field and choose the invoice#
|
IP Logged |
|
hello
Groupie
Joined: 05 Feb 2014
Online Status: Offline
Posts: 85
|
Posted: 17 Jun 2014 at 10:28am |
For the detail section, place a check mark in the suppress box, click on X2, then:
{table.invoicenumber} = previous {table.invoicenumber}
|
IP Logged |
|
Beso90
Groupie
Joined: 12 Jun 2014
Location: United States
Online Status: Offline
Posts: 48
|
Posted: 19 Jun 2014 at 5:24am |
Gurbs: it helped a LITTLE by navigating what's duplicate and how many duplicates do I have - it's a temporary solution..
DBlank: Thank you for the note.
hello:
that didn't work, it says:
"The remaining text does not appear to be part of the formula."
This is what I have..
{V_CASHREC_DETAIL_ARINVOICE.INVOICE_NO} = previous {V_CASHREC_DETAIL_ARINVOICE.INVOICE_NO}
Thank you guys..
|
IP Logged |
|
hello
Groupie
Joined: 05 Feb 2014
Online Status: Offline
Posts: 85
|
Posted: 19 Jun 2014 at 8:34am |
Try this:
{V_CASHREC_DETAIL_ARINVOICE.INVOICE_NO} = previous ({V_CASHREC_DETAIL_ARINVOICE.INVOICE_NO})
|
IP Logged |
|
Beso90
Groupie
Joined: 12 Jun 2014
Location: United States
Online Status: Offline
Posts: 48
|
Posted: 19 Jun 2014 at 11:12am |
That worked! thanks SO MUCH!!!!!!!!!!!!!!!!!!
but now, the running total, as DBlank mentioned - is still counting the suppressed fields. Any idea how to stop that? and only count 1 line?
|
IP Logged |
|
kevlray
Admin Group
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
|
Posted: 20 Jun 2014 at 5:36am |
If you are using a running total, then have it evaluate only when the fields are not suppressed ( {V_CASHREC_DETAIL_ARINVOICE.INVOICE_NO} <> previous ({V_CASHREC_DETAIL_ARINVOICE.INVOICE_NO})
)
|
IP Logged |
|
|