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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timesheet data & report

Status
Not open for further replies.

leniw

Technical User
Joined
Feb 10, 2006
Messages
5
Location
GR
Hi All,

In the company that I'm working, we have an access control system. Everyweek, we get a very simple report which is like this:

125862 3/9/2012 8:45 Employee1
125863 3/9/2012 16:49 Employee1
125864 4/9/2012 9:35 Employee 3
125865 4/9/2012 16:53 Employee 3

I decide to put theese data in access, in order to design a report that has in the same row the employee, the data and the time_in, time_out.
But I'm stucked...

What I want is a report like:

Employee_3 4/9/2010 9:35 16:53
Employee_1 3/9/2010 8:45 16:49

What I get is a report like:

Employee_3 4/9/2010 9:35
Employee_3 4/9/2010 16:53
Employee_1 3/9/2010 8:45
Employee_1 3/9/2010 16:49

From the few things I know about MS Access, I suppose that since every entry has an ID, I have to find a way to combine everyday's data.... Right???

Is there a solution? Can anyone help me please???

Thank you (very much) in advance,

Lena

 
hi,

Use MAX(Time)

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Good Morning to All [bigsmile]

Thanks for the idea Skip, I will try it!
(No time_in and time_out, are always in the same date)

Thanks again!!

 
Yes, it would not be appropriate to pinaone on my post. ;-)

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
What are the exact table and field names? You seem to have a sequence type number in your data. Is this unique and always in chronological order?

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top