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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate Past Due Dates 1

Status
Not open for further replies.

yatesk

Technical User
Dec 1, 2006
14
US
How can I calculate a past due date?

Example:

If a book was checked out from the library on
October 1, 2006 and it was due on October 16, 2006
How can Crystal calculate the past due date which will be on October 17, 2006?

I hope this makes since.
 
{table.checkedoutdate}+16

Or if you want to select records that overdue, you could use a record selection formula like:

{table.checkedoutdate} < currentdate-16

-LB
 
Thank you so much. That really helped!...I have one more question concerning this issue...how can I retrieve 'how many days past due'?
 
Create a formula:

datediff("d",{table.checkedoutdate}+16, currentdate)

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top