Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Supress if Dup failing in Subreport Post Reply Post New Topic
Author Message
carstowal
Groupie
Groupie


Joined: 31 Jul 2008
Online Status: Offline
Posts: 80
Quote carstowal Replybullet Topic: Supress if Dup failing in Subreport
     Posted: 12 Jun 2009 at 6:45am
CR9

I have a subreport with a group header and (2) fields in details.

Using Format_Field > Common > Suppress if Duplicated
The one field suppresses properly and the other doesn't.

Neither are formula or totals, they are both fields from a table

edit:
There is a conditional suppression on the field that it not suppressing duplicates properly.
{OPERATION.SCHED_START_DATE} > NthSmallest (2, {OPERATION.SCHED_START_DATE}, {OPERATION.WORKORDER_BASE_ID})

perhaps the reason is they are not duplicates of the one above when the conditionally suppressed items are considered.

still I'd like to get rid of them.

2nd edit:
I created a formula which enabled me to sort the field such that now the suppress if duplicate functions.

NOW the fields are suppressed but there are blank spaces where the data was.  (In the section expert I have selected Suppress Blank Section, but the whole section isn't blank, just the suppressed it duplicates fields are blank.)  How to eliminate the blank spaces?



Edited by carstowal - 12 Jun 2009 at 7:18am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 12 Jun 2009 at 9:50am
You cannot get rid of blank parts unless you want to suppress the whole row.
In that case instead of conditionally suppressing the field conditionally suppress the entire row.
Move that formula to conditionally suppressing the field to  the "X-2" option in Section Expert on Details row next to Suppress option.
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum