ujbi Posted January 3, 2007 Share Posted January 3, 2007 hello, I'm using ireport 1.2.8 to create fields from a custom JRDataSourceProvider. When I open the report query dialog, tab DataSource Provider and invoke Get fields from datasource all fields from my JRDataSourceProvider are listed. But if I try to use these fields to set up the chart parameters, I get the error message that the fields do not exist (Chart properties, expression editor).I expected that the fields are created automatically...? TIAGernot Link to comment Share on other sites More sharing options...
damonf Posted January 11, 2007 Share Posted January 11, 2007 I am also having this issue. Any guidance or pointers to sample code or docs would be appreciated. The JRDataSourceProvider I've coded pulls the query from the report in the create() method (where else would I get the query?) and sets the fields by executing that query. Unfortunately, iReport does not call create() using the query until it runs a report. Is there some other way to get iReport to use the query (entered in the menu: Data > Report query) to drive the avaialble fields. I need this to happen for both report compilation and also wizard-driven report generation. many thanks in advance,d. Link to comment Share on other sites More sharing options...
mcgwest Posted January 19, 2007 Share Posted January 19, 2007 I've seen several other posts about this with no response. I think this must be a bug that hasn't been dealt with yet. I'm hoping someone working on Jasper can respond with a workaround or a fix because I'm having the same problem. :( Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted January 19, 2007 Share Posted January 19, 2007 When you list the fields, select all the rows appearing in the table in order to add the fields to the report. Giulio 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