Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating age in period

Status
Not open for further replies.

kutz13

IS-IT--Management
Feb 24, 2004
62
GB
I'm hoping that someone here will help me with a formula needed for a report. Currently using CR8.5 & Oracle 8.

The criteria for the report states that only individuals who attained the age of 16 within a given period will be included within the report.

I can calculate age as of current date, but does anyone have an idea how to calculate age if the date is within a date period?

Thanks in anticipation for your help!
 
Use a selection rule as follows:

Dateadd("yyyy",16,{mytable.DOfB})>= {?paramStartdate}
AND Dateadd("yyyy",16,{mytable.DOfB})<= {?paramEnddate}
 
Yep - that appears to do it. Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top