Solved

Need to modify the existing query to get results i want. Looks complicated

Posted on 2008-10-15
6
243 Views
Last Modified: 2011-10-19
Every morning user must clock in in the system. Clock In time recorded as Time.
it looks like:
Name           Time
Person B      9/2/2008 6:38 AM
Person A      9/2/2008 8:10 AM
Person B      9/3/2008 6:41 AM
___________________________
Of course, calendar month has weekends(WE), holidays(H).
When you are clock in- the status should be 1, when you are not clock in - you are off and the status  0
I have two attachnemtes:
Excel file and Database in access:

So i want to present the data for a whole calendar month, from 1 to 31
you can see in the attached Excel file how it should be

                01           02               03       04           05
Person A   H             1                  1           1         0
Person B   H             1                   1           1          1
which means for 01 it was a holiday, it means nobody clocked in, that is why this is H
for 02,03,04 05 1 stands for working, 0 for off,
so the person A was off only on 05 and Person B was here whole week but holiday




Action.xls
DBtest.mdb
0
Comment
Question by:rfedorov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 44

Expert Comment

by:GRayL
ID: 22726686
And?
0
 

Author Comment

by:rfedorov
ID: 22726700
Hi, what do you mean?
0
 
LVL 44

Expert Comment

by:GRayL
ID: 22726747
For me, a well-worded question is one that can stand on its own.  The data serves only to show what the answer should be.  I just get tired of having to download data to find out what the question is about.  'She who must be obeyed'  is about to tear the door down looking for dinner - later my friend.
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 

Author Comment

by:rfedorov
ID: 22726773
To GRayL:
I am really sorry if i did something wrong to You. Somethimes is is hard (for me) to make a  perfect question. In this case it is really complicated. at least for me. That is why in my excel file you can see exactly what i need and h ow the results should be present.
I want to see the attendance on daily base for each day in the month, from 1 to 31 even if it was no action, like saturday, holiday or something else
My peace of data represent only if the person did clock in and the status is 1, this is only the data i can get from the database, you can see blanks in query because i can not make zeroes, i am using the function NZ but it did not work for me.
I will answer on all your questions if you have
0
 
LVL 8

Accepted Solution

by:
Joe Overman earned 500 total points
ID: 22778430
0
 

Author Closing Comment

by:rfedorov
ID: 31506540
No words, great job, clear, well explained!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question