Jump to content
We've recently updated our Privacy Statement, available here ×

How to handle dynamic fieldsets in a report?


subha_iwov

Recommended Posts

Hi,

We have a requirement where the user should be able to enter any SQL query in the report input form. The report should be generated for that query. So the user can query for vaying fieldsets in each of his SQL queris. I am not sure how to create a Jasper report which can handle dynamic fieldsets.

Does Jasper support such a requirement?

It would be great if anyone can please help me on this? 

Thanks,

Subha

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

There is one more similar requirement where depending on user input parameter 2 different tables are queried. But the resultset for the tables vary by 2 fields. How can I handle this. Is there a way by which I can disable or hide fields in a report. Please help.

Thanks,

Subha



Post Edited by Subha Epari at 12/09/08 13:52
Link to comment
Share on other sites

Hi Sherman,

That is great. Thanks for the information.

I want to run reports on the JasperServer Community Edition.

Does this Column Manager library come with JasperServer Community or Professional Editions.

Also please let me know if such reports can be designed with IReport.

Many Thanks,

Subha

 

 

Link to comment
Share on other sites

Hi Sherman,

I tried having a boolean expression for PrintWithExpression properties in both field header and field value.

Also Checked the option "Remove line when blank" for both field header and field value.

And also Checked the option "Blank when null" for field value.

Still I get the error:

com.jaspersoft.jasperserver.api.JSExceptionWrapper: Unknown column name : DEP_UUID

...

...

Here DEP_UUID is the column name which is not present in the query resultset.


I want to have this column because I want to show it for a differnt query based on user input.

Could you please give me some help on this and let me know where can I get help on this.

Thanks,

Subha



Post Edited by Subha Epari at 12/15/08 10:37
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...