Using SCR8
Trying to create a report that shows all the dates from TABLE1 for a given week (via parameter fields) even if there is no corresponding record in TABLE2. The following is what I have in the Select Expert when you show the formula.
{TABLE2.DEPT} = {?Department} and
{TABLE2.ITEM_NO} = {?Item Number} and
(if {?Color} <> 'ALL' then
{TABLE2.Color} = {?Color}
else
True) and
(if IsNull ({?Size}) then
{TABLE2.SIZE} = {?Size}
else
True) and
{TABLE1.DATE} in {?StartDate} to {?EndDate}
I have moved the Department and Item Number parameters to the end but got the same results. Perhaps the Select Expert is not the best place to do this? Should it be written into the SQL statement instead?
The report is based two tables with a left outer join from TABLE1.DATE to TABLE2.DATE.
Trying to create a report that shows all the dates from TABLE1 for a given week (via parameter fields) even if there is no corresponding record in TABLE2. The following is what I have in the Select Expert when you show the formula.
{TABLE2.DEPT} = {?Department} and
{TABLE2.ITEM_NO} = {?Item Number} and
(if {?Color} <> 'ALL' then
{TABLE2.Color} = {?Color}
else
True) and
(if IsNull ({?Size}) then
{TABLE2.SIZE} = {?Size}
else
True) and
{TABLE1.DATE} in {?StartDate} to {?EndDate}
I have moved the Department and Item Number parameters to the end but got the same results. Perhaps the Select Expert is not the best place to do this? Should it be written into the SQL statement instead?
The report is based two tables with a left outer join from TABLE1.DATE to TABLE2.DATE.