I was doing something like
select * from $P{TABLENAME_VAR}
in JR report but I am getting invalid table name exception though the parameter contain proper table name
The scenario here is I want to populate the name of the table dynamically based on the input provided by the user so what I am doing is
I have created a parameter . Now based on the input selected by the user a particular table name is assigned to this variable but when I am trying to assign this parameter as table name in report I am getting Invalid table name
exception.