This could be an example of the “everyone that is not here raise your hand” query. One way to deal with this type of query is to have Selection Criteria that excludes the people “that are here.”
For example if you know that EMPLIDs 100,200 and 300 HAVE something and you just want the people that DON’T have it you could do a Selection like this.
Data Field “JOB”.”EMPLID” Is Not In List of Values 100,200,300
The problem you have is you need to create and maintain the list by hand.
If you modify the Selection and use a query in it the maint is automatic.
Data Field “JOB”.”EMPLID” Is Not In List Formula (SELECT
“IA_JOB”.”EMPLID”
FROM …….)
The trick is creating a query that returns the people you want to EXCLUDE. You create this query in ReportSmith and copy and paste the SQL into your formula.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.