marvelousme
Registered User.
- Local time
- Today, 13:21
- Joined
- Oct 23, 2014
- Messages
- 25
I have a customer service database where workers log details about issues. I also have users log how many hours they work each day so I can calculate their productivity. I want to alert users so that each time they log in, if there are any days where they have logged issues BUT did not log hours for that date, they will get a pop telling them which days have not been accounted for so that they can go in and correct this.
I have already created 2 queries to help me: Issues Logged_Current User shows me all of the issues logged for the one logged into the system and the corresponding dates. My second query, Hours Logged_Current User, shows me the date the current user worked and the hours they logged. I want to compare these 2 so that a query shows me what days have not been logged based on the dates they have produced work. I thought I could do this with the Unmatched Query Wizard, but it's only showing me the data that matches. I want the data that doesn't match. Here is a copy of what the data looks like currently. My comparison query, based on the criteria I have given, should produce the dates of 1/3, 1/4, 1/6, and 1/7 because work has been logged but no hours have been logged on those dates--but that's not happening in my Unmatched Query Wizard. What am I doing wrong??
Issues Logged_Current User
Sam Smith 1/1/2016
Sam Smith 1/2/2016
Sam Smith 1/3/2016
Sam Smith 1/4/2016
Sam Smith 1/5/2016
Sam Smith 1/6/2016
Sam Smith 1/7/2016
Sam Smith 1/8/2016
HoursLogged_Current User
Sam Smith 1/1/2016 6.0
Sam Smith 1/2/2016 8.0
Sam Smith 1/5/2016 7.5
Sam Smith 1/8/2016 4.25
I have already created 2 queries to help me: Issues Logged_Current User shows me all of the issues logged for the one logged into the system and the corresponding dates. My second query, Hours Logged_Current User, shows me the date the current user worked and the hours they logged. I want to compare these 2 so that a query shows me what days have not been logged based on the dates they have produced work. I thought I could do this with the Unmatched Query Wizard, but it's only showing me the data that matches. I want the data that doesn't match. Here is a copy of what the data looks like currently. My comparison query, based on the criteria I have given, should produce the dates of 1/3, 1/4, 1/6, and 1/7 because work has been logged but no hours have been logged on those dates--but that's not happening in my Unmatched Query Wizard. What am I doing wrong??
Issues Logged_Current User
Sam Smith 1/1/2016
Sam Smith 1/2/2016
Sam Smith 1/3/2016
Sam Smith 1/4/2016
Sam Smith 1/5/2016
Sam Smith 1/6/2016
Sam Smith 1/7/2016
Sam Smith 1/8/2016
HoursLogged_Current User
Sam Smith 1/1/2016 6.0
Sam Smith 1/2/2016 8.0
Sam Smith 1/5/2016 7.5
Sam Smith 1/8/2016 4.25