I have a report that allows the user to select several parameters and then select the group by order either by "Department" or "Employee". If they select by department, I list all employees within that department, who were absent during the parameter date range. A single employee may be in one department and absent multiple days, so I want to suppress their last/first name in the detail if the user selected to group by employee. On both the last and first name fields in the detail section, I have the following suppression formula which is not suppressing:
{@Group By Formula} = "Employee"
or
({TBLEMPLOYEE.LNAME} = previous({TBLEMPLOYEE.LNAME}) and
{TBLEMPLOYEE.FNAME} = previous({TBLEMPLOYEE.FNAME}) and
{TBLEMPLOYEE.MI} = previous({TBLEMPLOYEE.MI}))
If the user selects to group by Department, I don't want to show the department number and description with each employee within the department (detail), so I have this suppression formula which is working:
{?Group by} = "Department" or
({TBLDEPT.DEPTDESC} = previous({TBLDEPT.DEPTDESC}) and
{TBLLABOR.EMPID} = previous({TBLLABOR.EMPID}))
In the group header, I also have suppression formulas on the department number and description as follows, which is working:
{?Group by} = "Employee"
I also have in the group header the following suppression on the employee id and last name/first name:
{?Group by} = "Department"
I can't figure out why my employee last/first names are not suppressing in the detail if the they pass the test 'true' for group by selection = 'employee'. Is this something so obvious that I can't see it from looking at it so long?
{@Group By Formula} = "Employee"
or
({TBLEMPLOYEE.LNAME} = previous({TBLEMPLOYEE.LNAME}) and
{TBLEMPLOYEE.FNAME} = previous({TBLEMPLOYEE.FNAME}) and
{TBLEMPLOYEE.MI} = previous({TBLEMPLOYEE.MI}))
If the user selects to group by Department, I don't want to show the department number and description with each employee within the department (detail), so I have this suppression formula which is working:
{?Group by} = "Department" or
({TBLDEPT.DEPTDESC} = previous({TBLDEPT.DEPTDESC}) and
{TBLLABOR.EMPID} = previous({TBLLABOR.EMPID}))
In the group header, I also have suppression formulas on the department number and description as follows, which is working:
{?Group by} = "Employee"
I also have in the group header the following suppression on the employee id and last name/first name:
{?Group by} = "Department"
I can't figure out why my employee last/first names are not suppressing in the detail if the they pass the test 'true' for group by selection = 'employee'. Is this something so obvious that I can't see it from looking at it so long?