Storing query result in report parameter
Hi,
I need to get a value using SQL and use this value later in the report as parameter for other queries and various conditions.
For example, I need to call this query somewhere in the early stages of report (initialize, before factory, etc):
select userid from users where ....
and then store this "userid" as parameter for later use.
Any advice?
I am using 2.3.2
Thank you
|