2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Dan Powell - danpowell Dynamic Fields 2004-03-31 12:39 Is it possible to create fields dynamically (either through introspection into the DataSource or through paramaters) without creating a new report definition on the fly, compiling it, and loading it? I am using a CustomDataSource approach to populate the report, but the columns in the DataSource, and thus the fields in the report, will change with nearly every report load. By: David Lim - aberrant80 RE: Dynamic Fields 2004-03-31 19:35 I'm not too sure, but I know that you can still access your report's bands when it's still in .jasper format (JasperReport class). Link to comment Share on other sites More sharing options...
moldoe Posted June 16, 2009 Share Posted June 16, 2009 Hi Dan, did you figure out a way to deal with dynamic fields. I'd really appreciate it if you can share your knowledge about it. Thanks, Daniel Link to comment Share on other sites More sharing options...
Teodor Danciu Posted July 17, 2009 Share Posted July 17, 2009 Hi, You are posting on a thread that is 4 years old and the initial poster do not get your message unless you write them on their Sourceforge.net accounts (the message was migrated).Dan already mentioned the solution, but he said he does not want to do that. Still, it is the only one.If you have dynamic reports, you need to create them dynamically, at runtime, using the JR API.You can check the /demo/samples/noxmldesign sample provided with the JR project source files. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now