RE: Start and End times - same date
- From: KARL DEWEY <KARLDEWEY@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Jul 2009 13:51:01 -0700
If this is all there is to your data then it is simple, but if you have more
than two entries per day then you have to sequentially number them first to
do it.
In design view put your table in the space above the grid area twice.
Access will add a sufix of '_1' to the second instance.
Join the two table on the date field by clicking and dragging.
Pull down all fields from the first table.
Pull down the 'Time In' field from the second.
In the Criteria row under second table 'Time In' field type this --
<[FirstTable].[Time Out]
This will pull all records that have 'Time In' before 'Time Out'.
For datasets that have multiple entries per day you also need criteria on
the numbering to make sure you are comparing the following record. That
would be [FirstTable].[Number]+1 compared to [SecondTable].[Number].
"vianda via AccessMonster.com" wrote:
I need to audit a form checking the times for the same date. I need to create.
a report showing this info.
Date Time In Time Out
4/12 10:15 AM 11:15 AM
4/12 12:30 AM 1:00 PM
4/13 9:00 AM 9:30 AM
4/13 9:15 AM 10:15 AM overlap
4/14 10:00 AM 10:30 AM
4/14 10:30 AM 11:00 AM no travel time
I'm having a hard time to figure out how to substract the second time in from
the first time out. There are in different columns and rows. If somebody
can help i will appreciate it.
Viviana
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200907/1
- Follow-Ups:
- RE: Start and End times - same date
- From: vianda via AccessMonster.com
- RE: Start and End times - same date
- From: vianda via AccessMonster.com
- RE: Start and End times - same date
- References:
- Start and End times - same date
- From: vianda via AccessMonster.com
- Start and End times - same date
- Prev by Date: RE: report not displaying as I need it
- Next by Date: Re: Repeating Group in report
- Previous by thread: RE: Start and End times - same date
- Next by thread: RE: Start and End times - same date
- Index(es):
Relevant Pages
|