The current Query Reporter version has a bug that requires that you specify the type of the secondary usage of the substitution variable. For example
Code:
select d.name, e.name, e.sal
from dept d, emp e
where d.deptid = e.deptid
and e.sal between &<name="Sal_Min" type="integer">
and &<name="Sal_Min" type="integer"> + 1000