How to pass entire sql query to jasper report at runtime using PHP


I am looking for some solution or wayout to know how we can pass entire sql query as datasource to jasper report at runtime using PHP.

Since we are allowing user to filter the various options as per his requiremnt and based on user filter the final query will be generated based on the selected filters and will be assigned as a datasource to the particular report to see the desired results at runtime.

Any example in PHP will be highly appreciated.


With Regards










arshhb's picture
Joined: Oct 21 2017 - 3:41am
Last seen: 4 years 9 months ago

0 Answers:

No answers yet