Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Displaying with 2 Date Fields Post Reply Post New Topic
Author Message
mikevtss
Newbie
Newbie
Avatar

Joined: 04 Dec 2012
Online Status: Offline
Posts: 13
Quote mikevtss Replybullet Topic: Displaying with 2 Date Fields
    Posted: 03 Aug 2016 at 4:23pm
Hello All,

I Have to fields in the Database.

{Add.date} and {void.add.date} and im trying to display records from both if they equal today.

I was filtering on if {Add.date} = today () it will come up fine

but if a void is done it will populate the {void.add.date} and leave the {add.date} as the original day done which could be weeks ago.

anyway I can do it so if a void is done it display that date instead.

NOTE: the {void.add.date} field is Blank when no voids are done.

cheers all.


IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 04 Aug 2016 at 4:29am
So if isnull({void.add.date}) and {Add.date} = today () then whatever

else if {void.add.date} = today() then whatever

I think this is what you wanted.
IP IP Logged
mikevtss
Newbie
Newbie
Avatar

Joined: 04 Dec 2012
Online Status: Offline
Posts: 13
Quote mikevtss Replybullet Posted: 04 Aug 2016 at 7:07pm
where would I put this formula tho?
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 08 Aug 2016 at 6:22am
You would put it where you want to display the result of the formula in the report.
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.