G
Guest
Hello I have a text box that has a date in it. I want to add a text box next
to it and have it appear when its past the date and count the days that has
gone past. I put this code in the text box's control source next to the one
that shows the date but it shows a negative number if before the date shown
but works if it has gone past the date. What do I need to add to the code to
make this work?
=Format(DateDiff("d",[txtPeriodEndDate],Date()),0) & " Days Past Due"
to it and have it appear when its past the date and count the days that has
gone past. I put this code in the text box's control source next to the one
that shows the date but it shows a negative number if before the date shown
but works if it has gone past the date. What do I need to add to the code to
make this work?
=Format(DateDiff("d",[txtPeriodEndDate],Date()),0) & " Days Past Due"