Crystal Report Formulas

SUGGESTED
Employee Emp Name Per Begin Date Period End Date Fringe ID Amount Deduction ID Amount
1001 Jackson, One 1/4/2021 1/10/2021 MEDEMP $   220.00 MED01 $   95.00
1003 Jackson, Three 1/4/2021 1/10/2021 MEDEMP $   221.00 MED02 $   96.00
               
1002 Jackson, Two 1/4/2021 1/10/2021 MEDEMP $   221.00 MED01 $           -  
               
               
Current Formula
  {PRT_CURRENT__CHECK_FRINGE.Fringe_ID} in ["MEDEMP", "SCORPMED"] and  
  {PRT_CURRENT__CHECK.Period_End_Date} = Date (2021, 01, 24) and    
  {PRT_CURRENT__CHECK.Period_Begin_Date} = Date (2021, 01, 18) and  
  (isnull({PRM_MASTER__EMPLOYEE.Termination_Date})) and    
  {PRT_CURRENT__CHECK_DEDUCT.Deduction_ID} in ["SCORPMED", "MED02", "MED01"]
The above formula does not pick up the employees that have Fringe Benefit but no deductions (example green Above)
Can anyone help me with fixing the formula to pick up the example employee in green above? Thank you
Parents
  • 0

    Off the top of my head (and I am by no means an expert in crystal) I think if you remove the last condition from Report conditions and instead set that condition on the fields returning the deduction amounts in the Format editor that should work.  The condition in the report is going to exclude employees that do not have one of those deductions

Reply
  • 0

    Off the top of my head (and I am by no means an expert in crystal) I think if you remove the last condition from Report conditions and instead set that condition on the fields returning the deduction amounts in the Format editor that should work.  The condition in the report is going to exclude employees that do not have one of those deductions

Children