Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: print multiple headers in a single layout Post Reply Post New Topic
Author Message
jason stratom
Newbie
Newbie


Joined: 17 Feb 2011
Location: India
Online Status: Offline
Posts: 21
Quote jason stratom Replybullet Topic: print multiple headers in a single layout
     Posted: 27 Jul 2012 at 8:57am
Hi all,

I have created a CR report.in which i have to display the header as "Memo" at the first print (1 copy) and "copy" at the second print (2 copies of print).
Pls suggest me the way to achieve this...


Regards,
Jason
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 31 Jul 2012 at 3:25am
run the report twice, first displaying print, second copy and use a parameter to determine it.
 
2 double your data (via a stored proc most likely), add a field that signifies the 'version' of the data, add a group by the version, have the version group header determine print or copy.
 
try a self join to the table, but without the extra column for 'versioning' I doubt that it will work, you will just get 2 rows for everything on the report which not what you are after.
 
join to a 'numbers' table and use the number value to determin the version.
 
HTH
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