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 .NET 2003
:
Report Design
Topic: Date handling in XI
Oldest Post First
Newest Post First
Author
Message
Eany
Newbie
Joined: 21 Nov 2007
Location: United Kingdom
Online Status: Offline
Posts: 17
Topic: Date handling in XI
Posted: 05 Feb 2008 at 5:50am
My rpt access dates from an SP.
When the SP is run interactively,
the dates are returned as Nulls, or YYYY-MM-DD HH:MM:SS.DDD (e g 2008-01-22 00:00:00.000)
I created a formula :
If isnull({Date})
Then " "
else
ToText({Date}, "yyyy-mon-dd")
The ISNULL works OK, but if there is a date,
as above, I get
2008-0on-22, instead of 2008-Jan-22.
Eany
IP Logged
rahulwalawalkar
Senior Member
Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Posted: 05 Feb 2008 at 6:36am
Hi
use the following
ToText({date}, "yyyy-MMM-dd")
cheers
Rahul
IP Logged
Eany
Newbie
Joined: 21 Nov 2007
Location: United Kingdom
Online Status: Offline
Posts: 17
Posted: 05 Feb 2008 at 6:51am
Many thanks Rahul : so obvious !
Eany
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.016 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.