I need a text box to show something like this:
if txtPeriod < 07 then
select NumSold
where itemNo=txtItem and year=2004
else
select NumSold
where itemNo=txtItem and year=2003
i know this isn't the right syntax - just trying to relay the logic.
The query that is the underlying source of the report holds the information that I need...I just need to set those conditions.
Sandy
if txtPeriod < 07 then
select NumSold
where itemNo=txtItem and year=2004
else
select NumSold
where itemNo=txtItem and year=2003
i know this isn't the right syntax - just trying to relay the logic.
The query that is the underlying source of the report holds the information that I need...I just need to set those conditions.
Sandy