Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2020
:
Report Design
Topic: Formula for year in current date
Oldest Post First
Newest Post First
Author
Message
snufse
Newbie
Joined: 19 Mar 2008
Location: United States
Online Status: Offline
Posts: 36
Topic: Formula for year in current date
Posted: 05 Oct 2009 at 5:11am
I have a date field that I need to compare to year in current date. Not sure how to set up the formual. Thank you
{SALESTKT.TICKET_DATE} > CurrentDate
Edited by snufse - 05 Oct 2009 at 7:49am
IP Logged
Memoli28
Groupie
Joined: 10 Apr 2009
Online Status: Offline
Posts: 58
Posted: 05 Oct 2009 at 5:21am
Hi,
create new formula with following:
year({SALESTKT.TICKET_DATE} )=year (CurrentDate )
some kind of boolean.
hope this will help.
IP Logged
snufse
Newbie
Joined: 19 Mar 2008
Location: United States
Online Status: Offline
Posts: 36
Posted: 05 Oct 2009 at 7:48am
That worked, thank you.
IP Logged
Vertex
Newbie
Joined: 29 Oct 2009
Location: India
Online Status: Offline
Posts: 24
Posted: 04 Nov 2009 at 7:57pm
how numbervar date can change into the datevar ....give me solution my code is here ...
numbervar yr:=2004;
numbervar monthselect:=12;
numbervar firstday:=1;
datevar createdate:= cDate (yr, monthselect, firstday);
createdate;
Hi Peoples
IP Logged
Vertex
Newbie
Joined: 29 Oct 2009
Location: India
Online Status: Offline
Posts: 24
Posted: 06 Nov 2009 at 7:26am
plz plz plz ...give solution .... how numbervar date can change into the datevar ....give me solution my code is here ...
numbervar yr:=2004;
numbervar monthselect:=12;
numbervar firstday:=1;
datevar createdate:= cDate (yr, monthselect, firstday);
createdate;
Hi Peoples
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.