D djai695 Registered User. Local time Today, 05:26 Joined Dec 13, 2013 Messages 21 Feb 14, 2014 #1 I want to setup a formula which shows the number of days until the due date, as well as the number of days past a due date. Not sure how to set this up on my report.
I want to setup a formula which shows the number of days until the due date, as well as the number of days past a due date. Not sure how to set this up on my report.
pr2-eugin Super Moderator Local time Today, 13:26 Joined Nov 30, 2011 Messages 8,494 Feb 14, 2014 #2 You need to use the DateDiff function to get this information. http://www.techonthenet.com/access/functions/date/datediff.php The generic code would be. Code: DateDiff("d", Date(), [dueDate]) The above will result in a positive number if the Due date is in future.
You need to use the DateDiff function to get this information. http://www.techonthenet.com/access/functions/date/datediff.php The generic code would be. Code: DateDiff("d", Date(), [dueDate]) The above will result in a positive number if the Due date is in future.
D djai695 Registered User. Local time Today, 05:26 Joined Dec 13, 2013 Messages 21 Feb 14, 2014 #3 Thanks, this worked great. I appreciate the help.
pr2-eugin Super Moderator Local time Today, 13:26 Joined Nov 30, 2011 Messages 8,494 Feb 14, 2014 #4 No problemo Good luck