I have a database for booking items in and out and would like the database to automatically count the number of items that are overdue.
I have a COMPLETED field which is a check box, when ticked completes the booking, if it is not ticked then the booking is incomplete.
I also have the "Date Returned" which is the date the customer is supposed to return the items.
So using these two fields how can I count the number of overdue items?
if COMPLETED=false and Date Returned<Date() +1
that's basically the logical expression I think would work, but I don't know the code/method to implement this into my database :x please help!
I have a COMPLETED field which is a check box, when ticked completes the booking, if it is not ticked then the booking is incomplete.
I also have the "Date Returned" which is the date the customer is supposed to return the items.
So using these two fields how can I count the number of overdue items?
if COMPLETED=false and Date Returned<Date() +1
that's basically the logical expression I think would work, but I don't know the code/method to implement this into my database :x please help!