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: Using Current Date in formula
Author
Message
dnrwilbl
Newbie
Joined: 23 Mar 2009
Location: United States
Online Status: Offline
Posts: 6
Topic: Using Current Date in formula
Posted: 23 Mar 2009 at 9:40am
I am trying to write a formula that says
If currentdate < 07/01/2008 then do abc
Else do xyz.
I get an error that states 07/01/2008 needs to be a date. Do you know what I'm doing wrong? Thanks
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 23 Mar 2009 at 9:48am
if currentdate < (#07/01/2008#) then abc else xyz
IP Logged
dnrwilbl
Newbie
Joined: 23 Mar 2009
Location: United States
Online Status: Offline
Posts: 6
Posted: 23 Mar 2009 at 9:50am
I can't believe it was that simple. Thanks.
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
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.