Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: Shared Variable Post Reply Post New Topic
Author Message
lygon house
Newbie
Newbie


Joined: 02 Jan 2013
Online Status: Offline
Posts: 1
Quote lygon house Replybullet Topic: Shared Variable
    Posted: 02 Jan 2013 at 4:36am
Can anybody help me
 
I am using CR10 and have a report that contains 2 subreports
 
Both report contain the same field which is a string for example cref which contain both alpha and numeric characters and what i want to know is as follows
 
In report 2 i only want to show cref that dont appear in report 1
 
how do i do this
 
Many thanks in advance
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 04 Jan 2013 at 7:56am
Simple answer - you can't by passing data between the subreports.  However, there may be another way of doing this.
 
Is there data in the main report or just in the subreports?  What is the current selection criteria for report 1 and report 2?
 
-Dell
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 09 Jan 2013 at 6:59am
you could run subreport 1, return a string of items as a shared variable and then have subreport act on the shared string.
 
at least that is what I would try
 
HTH
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.