Relative Content

Tag Archive for birt

Pass output of a query as a parameter in Open Method in BIRT Report

There is a query (simple select query in which we will pass the report parameters like userName, appname) which should be executed first and the output of that query should be passed as a parameter in the open method of a birt report. select id from project where projectname='ABC' and userid = (params["userName"].value).toUpperCase() and app = (params["appname"].value).toUpperCase()
This id should be passed as a parameter to the main query in the Open method. I’m not sure whether we can execute the query in beforeOpen or is there any other way to achieve it.