|
visakh16
Very Important crosS Applying yaK Herder
India
47189 Posts |
Posted - 10/04/2012 : 00:40:11
|
quote: Originally posted by anishap
I'm not sure how to set the rules.
Here is the scenario, If an employee is due for TB or TBSS or CXRAY then it's non-compliant other wise compliant.
If FLDPHYSICAL = '110' OR FLDPHYSICAL = 'TBSS' OR FLDPHYSICAL = '109' AND FLDDATEDUE IS NULL THEN Compliant ELSE Non_Compliant
Any thoughts on fixing this? Sorry to bother you again.
so what if you've multiple records with either of above values and also others values within group you consider. you would consider it as complaint or non-complaint?
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/
|
 |
|