Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

difference in time calculations in ms access

Status
Not open for further replies.

ianvanniekerk

Technical User
Aug 11, 2002
3
ZA
i have 2 textboxes on the form, one being the time the client entered the workshop (which is updated automatically when the ADD NEW button is clicked), the other being the time that the client left the shop (being entered manually)
What i would like to see, is how long the client has been in the workshop, with that time being calculated in another textbox (time left - time entered)
 
Create an unbound text box on your form, with the Control source set to

=DateDiff("n",[Time Entered],[Time Left])

This will give you the difference between the two times in minutes (or you can use "h" for hours).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top