Solved

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

Posted on 2008-10-15
6
244 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
Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 

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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

690 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