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: formula for date of birth less than one year
Author
Message
sanchezgmc06
Senior Member
Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Topic: formula for date of birth less than one year
Posted: 20 Jun 2011 at 5:58am
hi
I need a formula to give me date_of_birth if the client is less than 1 year old
IP Logged
kostya1122
Senior Member
Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Posted: 20 Jun 2011 at 6:23am
not sure what data you have, but it something like this
if (Currentdate-birthdate(field))/365.5<1 then bithdate(field)
Edited by kostya1122 - 20 Jun 2011 at 6:23am
IP Logged
sanchezgmc06
Senior Member
Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Posted: 20 Jun 2011 at 6:42am
That worked! .
Thanks a million
this is what it looks like with the tables and fields
if(currentdate-({patient_current_demographics.date_of_birth}))/365.5 <1 then ({patient_current_demographics.date_of_birth})
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.