Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Display date range Post Reply Post New Topic
Author Message
trac
Newbie
Newbie


Joined: 25 Apr 2012
Online Status: Offline
Posts: 13
Quote trac Replybullet Topic: Display date range
     Posted: 09 Jan 2014 at 5:02pm
I wish to display a date range (MM-DD-YYYY) format in the report header. The date input would be max value of (date column) with 6 months in future. So date input from columns would be is Jan2014. The range should display Jan 2014 - June2014. How could this be achieved? Any help appreciated

Edited by trac - 09 Jan 2014 at 5:02pm
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Jan 2014 at 4:13am
2 formulas to get the values and drop them onto your report header
once they are ont he header you can format them anyway you wantr using the field format options
 
maximum(datefield)
 
dateadd('m',6,maximum(datefield))
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