Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2006, 12:34 PM
Registered User
 
Join Date: Feb 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calculate total hours based on Time

I have a created a “Daily Attendance Record” called tblsDAR. Within the table I have created the fields:

ClientName
DaysoftheWeek(DOW), i.e, Mon, Tues, etc…
Date: 99/99/0000;0;_
Time1: In 99:00\ >LL;0;_
Time2: Out 99:00\ >LL;0;_
TotalUnitsofService

My issue is this, When a client record is entered, I am able to enter the TimeIN and TimeOut. Such as in increments of the ¼ hour, ½ hour or a full hour. For example I enter the record for:

Clientname: Bob Jones
DOW: Monday 03/22/2006
Time1: Time In 8:45am
Time2: Time Out 1:00pm

This is done for the week. I want Access to “calculate” the Total Units of Service for the week or to return the sum value based on the TimeIN/TimeOut field(s).

Any help is definitely appreciated.

 
Old April 5th, 2006, 01:50 AM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

check out http://support.microsoft.com/default...roduct=acc2000


Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate running total on form and prevent text Hughesie78 ASP.NET 2.0 Basics 0 November 27th, 2007 10:35 AM
Calculate a running total Neal XSLT 3 March 22nd, 2007 11:16 AM
How To Calculate Monthy Total on-the-clock time Michaniker Access 2 December 2nd, 2005 06:06 PM
Check to See if Current Time is between hours mvollmer Classic ASP Professional 5 July 28th, 2004 07:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.