Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Avoiding suppresing onlast record Post Reply Post New Topic
Author Message
kirandb
Groupie
Groupie
Avatar

Joined: 10 Jun 2009
Location: United States
Online Status: Offline
Posts: 69
Quote kirandb Replybullet Topic: Avoiding suppresing onlast record
    Posted: 08 Oct 2010 at 3:16am
How do i avoid suppresing on the last record. I tried
 
if (onLastRecord) then
1=1
else
condition to suppress
 
but this doesnt work.
 
Another question is if i use a suppress condition on the Details section which contains 3 more detail sections with its own suppress condition, which condition is applied to the report ?
 
Kiran
share your knowledge
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 11 Oct 2010 at 4:25am
Not onlastrecord
 
Don't understand your second question. Can you explain further?
IP IP Logged
kirandb
Groupie
Groupie
Avatar

Joined: 10 Jun 2009
Location: United States
Online Status: Offline
Posts: 69
Quote kirandb Replybullet Posted: 12 Oct 2010 at 3:05am

My report has 3 detail sections Detaila, Detailb, Detailc . All these are unser Detail section. If I set a suppress condition on "Detaila"section and another condition on "Detail" section, what is the first section that gets preference for suppresion ?

share your knowledge
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 12 Oct 2010 at 4:06am
I believe it evaluates both and there is no 'preference'.
if either evaluates to TRUE it will suppress.
if you place a suppress condition in the DETAILS section it will sppress all of the sub sections below it (a, b and c in this case) when it evaluates to TRUE.
if you place it in the detailsA it will only suppress that sub-section.
 
IF DETAILS condition is TRUE and or DETAILS_A is FALSE,  a is still suppressed.
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.031 seconds.