Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: RND() Post Reply Post New Topic
Author Message
p0pcan
Newbie
Newbie


Joined: 06 Sep 2011
Online Status: Offline
Posts: 24
Quote p0pcan Replybullet Topic: RND()
    Posted: 13 Aug 2012 at 5:04am
I am trying to run a report that has to have a random generated 6 digit number.  I am using the RND() command and it is working to what I need for the most part.  The one issue I am having is that I need the random generated number in both the Report Head and Report Footer but when I use the RND() formula in both sections, both number are different.

How can I make the random generated number the same on both report header and footer pages??

Thanks
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Aug 2012 at 11:13am
try assigning it to a shared variable and then display that in both the header and footer
IP IP Logged
p0pcan
Newbie
Newbie


Joined: 06 Sep 2011
Online Status: Offline
Posts: 24
Quote p0pcan Replybullet Posted: 14 Aug 2012 at 3:43am
Thank you for the help.  This worked to what I was needing...Im an still pretty new to crystal and would have never thought of that.

Thanks again
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.023 seconds.