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 2022
:
Report Design
Topic: record Selection Question
Oldest Post First
Newest Post First
Author
Message
nitrotech
Groupie
Joined: 30 Jan 2013
Location: United States
Online Status: Offline
Posts: 42
Topic: record Selection Question
Posted: 13 Dec 2013 at 4:05am
This is my current record selection:
{@XXXCompanyFilter} and
{EInfo.empStatus} = ["A","T","R","D"]
I want to now remove any one with a Termination date older then an year this is the field
Einfo.termdate
So It will keep only records that are a year or new from the current date.
Thanks
IP Logged
lockwelle
Moderator
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Posted: 13 Dec 2013 at 4:57am
{@XXXCompanyFilter} and
{EInfo.empStatus} = ["A","T","R","D"]
and datediff('y',{Einfo.termadate}, today) < 1
I might have the order of the dates reversed...but this should be pretty close
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.016 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.