Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Displaying with 2 Date Fields
Oldest Post First
Newest Post First
Author
Message
mikevtss
Newbie
Joined: 04 Dec 2012
Online Status: Offline
Posts: 13
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 Logged
kevlray
Admin Group
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
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 Logged
mikevtss
Newbie
Joined: 04 Dec 2012
Online Status: Offline
Posts: 13
Posted: 04 Aug 2016 at 7:07pm
where would I put this formula tho?
IP Logged
kevlray
Admin Group
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
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 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.