Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: supress dat on main report based on subreport data Post Reply Post New Topic
<< Prev Page  of 2
Author Message
jbalbo
Senior Member
Senior Member
Avatar

Joined: 17 Feb 2011
Online Status: Offline
Posts: 219
Quote jbalbo Replybullet Posted: 02 Aug 2012 at 11:24am
DBLANK,
 
Thanks so much. I've learned alot today...
Not that I probably won't ask the same thing again...lol
 
But I'm pinning this thread up on the fridge!!!!!
 
 
Thanks again
 
Joe
 
IP IP Logged
Margaret
Newbie
Newbie
Avatar

Joined: 13 Dec 2012
Location: United States
Online Status: Offline
Posts: 2
Quote Margaret Replybullet Posted: 13 Dec 2012 at 1:35am

Hello.. I too am trying to suppress a detail line when there is specific data returned in a subreport. I have tried to follow the instructions posted here and my report does not cooperate. I can get the subreport data into main report with a shared stringvar but it seems to be copying in for every record despite me laying it out as indicated. How do I stop that from happening? Am using v8.5.

Thanks
Margaret
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Dec 2012 at 3:56am
CAn you explain more your set report set up?
IP IP Logged
Margaret
Newbie
Newbie
Avatar

Joined: 13 Dec 2012
Location: United States
Online Status: Offline
Posts: 2
Quote Margaret Replybullet Posted: 13 Dec 2012 at 6:22am
I have a report showing recently admitted patients (name, location, service, etc) and also whether a particular patient  has an attachment on their record. I pull the attachment information using a subreport. That attachment text starts with 'MED' therefore it displays when present.
I want a version of the report that will not include the records that have the subreport returning data so that staff can focus on those that are missing. In order to do that, I was trying to suppress or otherwise hide the details for the records showing data from the subreport.
Had got as far as creating a shared stringvar to bring the subreport info back to main report but cannot successfully produce report that will hide those records poperly. Hope that helps. Thanks!
Margaret
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Dec 2012 at 9:56am
I believe you need something likes this
 
IP IP Logged
<< Prev Page  of 2
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.016 seconds.