bradwfresno
New member
- Local time
- Today, 13:18
- Joined
- May 24, 2012
- Messages
- 3
Greetings Access Users:
My name is Brad Williams and I am familiar with the Access GUI and layout however I am venturing into functionality. I have before me a project which I need to track attendance of people over several classrooms. I have bar code scanning equipment scanning the ID of a person and also recording a date and a time stamp along with the unit ID as follows.
[Transactions]
PERSONID TDATE TTIME ID UID
1980 5/11/2012 8:05 AM 0000000000674302 1
I have several relations setup between a person table via the BADGE number = PERSONID
[Person]
UID BADGE F_NAME L_NAME COMPANY PHONE Email
1 1980 Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com
And the Classes Table via the ID = ID from Transactions
[Classes]
UID ID CLASS NAME DISCRIPTION SDATE STIME EDATE ETIME
1 0000000000674302 Farming All about farming 5/11/2012 7:55 AM 5/11/2012 10:00 AM
I built a query that determins what class someone was in based on the date and time and unit ID that scanned their Badge.
[Class Transactions]
CLASS NAME F_NAME L_NAME COMPANY PHONE Email SDATE STIME EDATE ETIME TDATE TTIME BADGE
Farming Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com 5/11/2012 7:55 AM 5/11/2012 10:00 AM 5/11/2012 9:55 AM 1980
Farming Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com 5/11/2012 7:55 AM 5/11/2012 10:00 AM 5/11/2012 8:05 AM 1980
I built a report to display and group the data with a simple expression sum([TTIME])
F_NAME L_NAME COMPANY PHONE Email CLASS NAME SDATE STIME TDATE TTIME AccessTotalsTTIME
Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com Farming 5/11/2012 7:55 AM 10:00 AM 5/11/2012 8:05 AM
Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com Farming 5/11/2012 7:55 AM 10:00 AM 5/11/2012 9:55 AM
Hours 0.75
Here is the problem. the difference between 8:05am and 9:55am is not 0.75 Hours. Please help me rectify this.
Thank you,
Brad Williams
My name is Brad Williams and I am familiar with the Access GUI and layout however I am venturing into functionality. I have before me a project which I need to track attendance of people over several classrooms. I have bar code scanning equipment scanning the ID of a person and also recording a date and a time stamp along with the unit ID as follows.
[Transactions]
PERSONID TDATE TTIME ID UID
1980 5/11/2012 8:05 AM 0000000000674302 1
I have several relations setup between a person table via the BADGE number = PERSONID
[Person]
UID BADGE F_NAME L_NAME COMPANY PHONE Email
1 1980 Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com
And the Classes Table via the ID = ID from Transactions
[Classes]
UID ID CLASS NAME DISCRIPTION SDATE STIME EDATE ETIME
1 0000000000674302 Farming All about farming 5/11/2012 7:55 AM 5/11/2012 10:00 AM
I built a query that determins what class someone was in based on the date and time and unit ID that scanned their Badge.
[Class Transactions]
CLASS NAME F_NAME L_NAME COMPANY PHONE Email SDATE STIME EDATE ETIME TDATE TTIME BADGE
Farming Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com 5/11/2012 7:55 AM 5/11/2012 10:00 AM 5/11/2012 9:55 AM 1980
Farming Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com 5/11/2012 7:55 AM 5/11/2012 10:00 AM 5/11/2012 8:05 AM 1980
I built a report to display and group the data with a simple expression sum([TTIME])
F_NAME L_NAME COMPANY PHONE Email CLASS NAME SDATE STIME TDATE TTIME AccessTotalsTTIME
Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com Farming 5/11/2012 7:55 AM 10:00 AM 5/11/2012 8:05 AM
Brad Williams RBT Company 559 513 8612 bradATrbtcompany.com Farming 5/11/2012 7:55 AM 10:00 AM 5/11/2012 9:55 AM
Hours 0.75
Here is the problem. the difference between 8:05am and 9:55am is not 0.75 Hours. Please help me rectify this.
Thank you,
Brad Williams