Hi,
Try change the variables to:
set @codice = /* select a.itemcode from oitm a where a.itemcode = */ '[%0]'
set @datefrom = /* select min(lastpurdat) from oitm */ [%1]
set @dateto = /* select max(lastpurdat) from oitm */ [%2]
Thanks,
Gordon
Hi,
Try change the variables to:
set @codice = /* select a.itemcode from oitm a where a.itemcode = */ '[%0]'
set @datefrom = /* select min(lastpurdat) from oitm */ [%1]
set @dateto = /* select max(lastpurdat) from oitm */ [%2]
Thanks,
Gordon