Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Crystal Reports X CurrentDate in empty field Post Reply Post New Topic
Author Message
MsKaty
Newbie
Newbie
Avatar

Joined: 14 Nov 2013
Location: United States
Online Status: Offline
Posts: 3
Quote MsKaty Replybullet Topic: Crystal Reports X CurrentDate in empty field
    Posted: 14 Nov 2013 at 10:14am
I am trying to create a Crystal Report that will show the Average days to pay for a customer. But if the customer hasn't paid, then i want the report to assume that the customer paid today. The trouble i am having is my data returns the unpaid stuff as blank. how and where can i put a formula that will put the Current Date (Date report is run) in the empty Date field?
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 14 Nov 2013 at 10:42am
formula like
paid_date
if isnull(paiddate) then currentdate else paiddate
IP IP Logged
MsKaty
Newbie
Newbie
Avatar

Joined: 14 Nov 2013
Location: United States
Online Status: Offline
Posts: 3
Quote MsKaty Replybullet Posted: 22 Nov 2013 at 9:08am
that worked!
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.016 seconds.