Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: passing more values to subreport Post Reply Post New Topic
Author Message
elly00
Newbie
Newbie


Joined: 24 May 2011
Online Status: Offline
Posts: 10
Quote elly00 Replybullet Topic: passing more values to subreport
    Posted: 08 Nov 2011 at 9:01pm
Hi,
I have a foruma on the detail section like this:
 
whileprintingrecords;
shared stringvar mat;
if {CODART} like ("*test*") then
mat:=CODART}
 
This foruma returns more that one value. So I would like to pass all values to a subreport. Is that possible?
By now the subreport shows only the last mat read.
THANX
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 09 Nov 2011 at 8:00am
something like:

whileprintingrecords;

shared stringvar mat:=mat & (if {CODART} like ("*test*")
     then {CODART} & ", "
          else "";
|< /\ '][' ( )
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 09 Nov 2011 at 11:50am
shared stringvar array mat....
 
need to populate and pass the array
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.