if ($empactive) { $sqlconds .= iif($sqlconds=="","WHERE","AND")." empactive = $empactive "; }
if (!$empactive) { $sqlconds .= iif($sqlconds=="","WHERE","AND")." empactive = $empactive "; }
makeinputcode("Is Ex-Employee (Inactive)","empactive",iif($empactive,$empactive,"1"));
makeyesnocode("Is Employee (Aactive)","empactive",iif($empactive,$empactive,"0"));