I have a field that I need to group on that frequently has nulls. The data source is a SQL stored procedure. I created the following formula.
IF {sp_ProductionSchedule;1.job_no} = "1" THEN
"LINE 1"
ELSE IF {sp_ProductionSchedule;1.job_no} = "2" THEN
"LINE 2"
ELSE IF {sp_ProductionSchedule;1.job_no} = "3" THEN
"LINE 3"
ELSE IF {sp_ProductionSchedule;1.job_no} = "BY HAND" THEN
"BY HAND"
ELSE IF IsNull({sp_ProductionSchedule;1.job_no}) THEN
"UNASSIGNED"
ELSE
"UNASSIGNED"
Neither the IsNull or Else will stop my report from creating "blank" group names. The "UNASSIGNED" group never appears. After browsing the forum, I unselected the convert NULL field value to default in options/reporting. That had no affect. What now? Thanks in advance.
Mark Simmerman
Napa, CA
IF {sp_ProductionSchedule;1.job_no} = "1" THEN
"LINE 1"
ELSE IF {sp_ProductionSchedule;1.job_no} = "2" THEN
"LINE 2"
ELSE IF {sp_ProductionSchedule;1.job_no} = "3" THEN
"LINE 3"
ELSE IF {sp_ProductionSchedule;1.job_no} = "BY HAND" THEN
"BY HAND"
ELSE IF IsNull({sp_ProductionSchedule;1.job_no}) THEN
"UNASSIGNED"
ELSE
"UNASSIGNED"
Neither the IsNull or Else will stop my report from creating "blank" group names. The "UNASSIGNED" group never appears. After browsing the forum, I unselected the convert NULL field value to default in options/reporting. That had no affect. What now? Thanks in advance.
Mark Simmerman
Napa, CA