Say, I have a simple report with a data-source setup. I'm going to embed the report in a Java application. In that application the user gives a specific input. That input would get passed into the Report as a parameter. Based on that parameter the report's query should generate results. How this can be achieved ?
Eg..
User is asked for input for a SCHOOL_ID,
SCHOOL_ID is passed as a Parameter to the REPORT,
REPORT puts the SCHOOL_ID's value in the SQL query,
(SELECT * FROM Students WHERE SchoolID=$R{SCHOOL_ID};) <---
( $R{SCHOOL_ID} is the report parameter here)
Dynamic results are generated.
Can this be done ? Any tutorials ?