Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Dates from Subreports to calculate number of days Post Reply Post New Topic
Author Message
PAlexander
Newbie
Newbie


Joined: 08 Jan 2008
Online Status: Offline
Posts: 15
Quote PAlexander Replybullet Topic: Dates from Subreports to calculate number of days
     Posted: 23 Sep 2009 at 10:57am
Greetings!

I have a main report that contains 2 subreports.  Subreport 1 returns a beginning date.  Subreport 2 returns an ending date.  How do I calculate the number of days between beginning and ending dates and display the difference in my main report?

Thanks for your time.
"Pete"
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 23 Sep 2009 at 11:50pm
use shared variables to pass start and end dates from sub reports to main report to calculate days difference

HTH,
Jyothi
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