Re: Create filter variables programmatically using report.fx for java
Posted: Fri Nov 15, 2019 6:50 am
Hi.
I already know pass all data to report. Now, i need create filter variables programmatically (not fixed in the report) and use them to filter data before show report viewer to user.
And also how to pass custom filter values to the datasource query using code in report.fx for java.
kindly help on this.
For Example : Select * from Users where user_id = @param1
through report designer,values we are giving like predefined. so those values data is showing in report viewer,but i need to pass the user selected custom varibles data to param1 variable to select the data and need to show the report.
kindly do needful asap.
thanks
I already know pass all data to report. Now, i need create filter variables programmatically (not fixed in the report) and use them to filter data before show report viewer to user.
And also how to pass custom filter values to the datasource query using code in report.fx for java.
kindly help on this.
For Example : Select * from Users where user_id = @param1
through report designer,values we are giving like predefined. so those values data is showing in report viewer,but i need to pass the user selected custom varibles data to param1 variable to select the data and need to show the report.
kindly do needful asap.
thanks