Date and Time

  • Thread starter Thread starter Loi
  • Start date Start date
L

Loi

Hi,

I have some problems. Please help me out.
-----------
I have two tables: Borrower and Equipment.(One to many
relationship)
---------------------
Table Borrower has three fields:ID, LastName, FirstName.
Table Equipment has five fields: Equipment, ReserveDate,
ReserveTime,ReturnDate and ReturneTime.
-------
Equipment: Proxima # 2, Proxima # 4 ......
--------
For example:
Kim reserves Proxima # 2,ReserveDate: 9/10/04 ;
ReserveTime: 11:00Am, ReturnDate: 9/11/04; ReturnTime:
5:00Pm. IT means that Kim will use Proxima # 2 from 9/10
at 11:00 am and will return it on 9/11 at 5:00 pm.

I also reserve Proxima # 2 on 9/10/04 form 7:00 Am and
will return it at 5:00 Pm at the same day.

There is a way to stop me when I enter date and time
because Kim reserved the proxima # 2 already.

Thank you very much
Loi
 
Check whether the 2nd Start date is less than the 1st End date AND the 2nd
End date is greater than the 1st Start date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Time 1
HELP! What's Up With Time 2
convert GMT Date & Time 6
Fonction DMax 0
Query or report 5
Count occurences of time 1
Merging Qry into Table 2
How to shut down program at work time end 11

Back
Top