Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2020
:
Report Design
Topic: Dates Five Years Out - simple question
Oldest Post First
Newest Post First
Author
Message
lentil
Newbie
Joined: 28 Feb 2010
Location: Australia
Online Status: Offline
Posts: 18
Topic: Dates Five Years Out - simple question
Posted: 13 Apr 2010 at 2:10pm
Hi this is a really simple question but mind has gone blank!
I want to add a date to a date field !!
So my current date 15/04/09 I want to add five years to that date and make it 15/0414 via formula and add it to the report
Regards
Leith
IP Logged
FrnhtGLI
Senior Member
Joined: 22 May 2009
Online Status: Offline
Posts: 347
Posted: 14 Apr 2010 at 2:12am
dateadd('y', +5, {table.datefield})
|< /\ '][' ( )
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 14 Apr 2010 at 3:46am
just to clarify:
dateadd('yyyy', 5, {table.datefield})
yyyy=year
y=day of year
IP Logged
lentil
Newbie
Joined: 28 Feb 2010
Location: Australia
Online Status: Offline
Posts: 18
Posted: 14 Apr 2010 at 10:24am
Thanks I knew how simple it was I just couldnt remember off the top of my head!
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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.031 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.