heathramos2
IS-IT--Management
I am trying to create a simple unmatched query but I am having issues.
Situation:
Query one contains employee number and hired date
Query two contains employee number and termination date
I want to prompt for a date and return the employees that were hired before that date and weren't terminated.
I created a form that has a text box where people can enter a date and both query one and two reference it. Query one returns records <= Date and query two returns <= Date.
In plain english, return everyone that was hired by a certain date and minus out the employees that were terminated before that date.
When I ran the unmatched query, it came back with no records. If I change query two and hard code a date in it, the unmatched query returns 281 records.
not sure why.
Situation:
Query one contains employee number and hired date
Query two contains employee number and termination date
I want to prompt for a date and return the employees that were hired before that date and weren't terminated.
I created a form that has a text box where people can enter a date and both query one and two reference it. Query one returns records <= Date and query two returns <= Date.
In plain english, return everyone that was hired by a certain date and minus out the employees that were terminated before that date.
When I ran the unmatched query, it came back with no records. If I change query two and hard code a date in it, the unmatched query returns 281 records.
not sure why.