Link to home
Start Free TrialLog in
Avatar of mercybthomas74
mercybthomas74

asked on

Calculate the Overdue date in Access

Fields in a table:

Date Requeted
Target Date
Completed date
Status

Date Requested: 4/15/09
Target Date: 4/15/09
Completed Date: 4/15/09

Status: Completed
Todays date : 4/28/09

When I apply the formula below... I get get OVERDUE is that right???????, bit confused

=IIf([Status]<>"Completed" And Int([Target Date])<Int(Date()),"Overdue")

Open in new window

Avatar of jbizzle979
jbizzle979
Flag of United States of America image

Maybe, is that doesn't work let us know.
I will try it on my end also.

Avatar of mercybthomas74
mercybthomas74

ASKER

the status shows complete , how can that be overdue?
Avatar of Flyster
I tried it and it seemed to work. Make sure in your table the status is spelled right and there is no space in front of the first character. If it still doesn't work, check the system clock to make sure Date() is showing today.

Flyster
ASKER CERTIFIED SOLUTION
Avatar of TonySt
TonySt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial