
February 25th, 2004, 07:13 PM
|
|
Registered User
|
|
Join Date: Nov 2003
Location: Massachusetts
Posts: 15
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Subtracting dates in ACCESS
Hello,
I am trying to find out whether or not something is past due in SQL view, using MS Access 2000. I have a table with rentals, which includes the attributes rental_date and due_date. I need to find out from the Time table, which has the attribute Days, which movies were returnd late.
I have now:
Where (rentals.due_date-rentals.rental_date)>Days
I am having trouble because it is comparing two different data types--> (xx-jan-1999) and integer days
Sorry this is so long-winded, but I hope someone can understand this and answer.
THANKS!!
|