Read this, it shows how to pass SQL fragments through parameters:
http://jasperreports.sourceforge.net/tutorial/index.html#parameters
HTH,
Lucian
John Dunn wrote:
> Is it possible to pass part of, or an entire SQL query string as a
> parameter?
>
> My problem is that the SQL where clause may var
Is it possible to pass part of, or an entire SQL query string as a
parameter?
My problem is that the SQL where clause may vary from one call of the report
to another i.e.some AND clauses may or may not be required.
Or is the case that only values can be passed as parameters?
John Dunn
Product