Print Page | Close Window

passing more values to subreport

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=14905
Printed Date: 06 May 2024 at 6:50am


Topic: passing more values to subreport
Posted By: elly00
Subject: passing more values to subreport
Date 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



Replies:
Posted By: FrnhtGLI
Date Posted: 09 Nov 2011 at 8:00am
something like:

whileprintingrecords;

shared stringvar mat:=mat & (if {CODART} like ("*test*")
     then {CODART} & ", "
          else "";


-------------
|< /\ '][' ( )


Posted By: lockwelle
Date Posted: 09 Nov 2011 at 11:50am
shared stringvar array mat....
 
need to populate and pass the array



Print Page | Close Window