Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Display Result of Stringvar in Report Header Post Reply Post New Topic
Author Message
vcs1161
Newbie
Newbie


Joined: 03 Mar 2010
Online Status: Offline
Posts: 33
Quote vcs1161 Replybullet Topic: Display Result of Stringvar in Report Header
     Posted: 25 Feb 2013 at 8:40am

I am building each location in my report based on each "Location" group by using this formula.

whileprintingrecords;
stringvar LocationSet;
if LocationSet <> ""
then LocationSet := LocationSet + ", ";

LocationSet := LocationSet + {Location};

I then display the array result of all the location in my report that resets when a new location comes along.  I can't get it to show in my report Header.  For instance, if the result of this was locationA, locationB, locationC then how can I get those to be included in my Header Text (ex. Results for locationA, locationB, locationC from Jan 1 - Feb 5).
 
Any ideas or thoughts are greatly appreciated.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 25 Feb 2013 at 8:51am
to do this int he way you want you would have to use sub reports in the GH.
IP IP Logged
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