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: Greater than Less than in If statement
Author
Message
swatts
Groupie
Joined: 17 Mar 2010
Online Status: Offline
Posts: 83
Topic: Greater than Less than in If statement
Posted: 02 Oct 2012 at 7:13am
Is the following not valid?
if ({Authorization_Release_Info.Data_Entry_Date}) < date(10/01/2012) then
"This report was filed before October of 2012"
Else
"This report was filed on October 1, 2012 or later"
It keeps giving me the Else part.
I pulled one of the files that was from 8/22/12 and it shows up
This report was filed on October 1, 2012 or later
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 02 Oct 2012 at 7:22am
if ({Authorization_Release_Info.Data_Entry_Date}) < date(
2012,10,1
) then
"This report was filed before October of 2012"
Else
"This report was filed on October 1, 2012 or later"
IP Logged
swatts
Groupie
Joined: 17 Mar 2010
Online Status: Offline
Posts: 83
Posted: 02 Oct 2012 at 7:25am
You are always right! Thank you so much!
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
BAEZL
© 2004-2026 Brian Bischof. All Rights Reserved.