Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Dates formatting Post Reply Post New Topic
Author Message
Zuzanna
Groupie
Groupie


Joined: 10 Sep 2010
Location: Canada
Online Status: Offline
Posts: 56
Quote Zuzanna Replybullet Topic: Dates formatting
    Posted: 15 Feb 2011 at 6:30am
Hi,
 
is there something in crystal formatting that can force a character into a date field if it null ? Ie. ######, so when I export to excel I will see #### in the cell instead of a blank ?
 
Thanks.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 15 Feb 2011 at 6:46am
i think you would have to convert it to a string, something like:
if isnull(date) then "######" else totext(date,"MM/dd/yyyy")
IP IP Logged
Zuzanna
Groupie
Groupie


Joined: 10 Sep 2010
Location: Canada
Online Status: Offline
Posts: 56
Quote Zuzanna Replybullet Posted: 15 Feb 2011 at 7:04am
I know, thanks. We just converted from ver 9 to 2008 and we run these reports into excel. I still have the old ver. 9 report and there's no formula for that, although it has ### in excel. So I was hoping that it's some kind of a setting in crystal.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 15 Feb 2011 at 7:26am
might be how you have your NULL options set in the Report Options.
See if you set them differently between the versions.
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.031 seconds.