I am creating a report with an input parameter based on a data set. I need a combo box to populate based on a query. The datasource is scripted and therefore i am using a scripted data set. I have two data sets, one for the parameter and the one for the report. I assign the data set to the parameter dynamically and set the data set and the field.
The problem is when i run the report the combo box is not getting populated. I know the data set works because if i put it on the report i get results.
It is as if the query is not being executed before the parameters window comes up.
What do i need to do to have a combo box populate based on a scripted data set?
On 11/12/2010 6:53 PM, Mike wrote:
> I am creating a report with an input parameter based on a data set. I
> need a combo box to populate based on a query. The datasource is
> scripted and therefore i am using a scripted data set. I have two data
> sets, one for the parameter and the one for the report. I assign the
> data set to the parameter dynamically and set the data set and the field.
>
> The problem is when i run the report the combo box is not getting
> populated. I know the data set works because if i put it on the report i
> get results.
> It is as if the query is not being executed before the parameters window
> comes up.
>
> What do i need to do to have a combo box populate based on a scripted
> data set?
> Thanks
>
I believe that was a bug in BIRT 2.1.2. It is fixed in later versions
of BIRT.
Jason
On 11/12/2010 8:23 PM, Mike wrote:
> I am using birt 2.1.2 for maximo 7.1.1.4.
>
> I tried to copy and paste that XML into a new report but i got XML errors.
>
> Thanks
I've got exactly the same issue
I've got scripted data Source and I try to use it to fetch dynamically into report parameter values list - but the list is empty - I'm pretty sure that my data source work fine cause I could set default value for parameter form it - in this case when I've run the report I've got only one (this) value on the list.
I'm using Birt 2.3.2 - any suggestion how to fix it ?
On 9/27/2011 11:16 AM, Krzysiek wrote:
> I've got exactly the same issue I've got scripted data Source and I try
> to use it to fetch dynamically into report parameter values list - but
> the list is empty - I'm pretty sure that my data source work fine cause
> I could set default value for parameter form it - in this case when I've
> run the report I've got only one (this) value on the list.
> I'm using Birt 2.3.2 - any suggestion how to fix it ?
I did not see the screenshot. Can you try the attached example?
Jason
On 9/28/2011 3:53 AM, Krzysiek wrote:
> I tried 3.7 and it is exactly the same
> Here are couple of screenshots:
> As I said I'm able to select a default value for the parameter
>
>
> But when i run report it look like this:
>
>
> and stack trace of the error (unfortunately not whole and as an image :( )
>
On 12/22/2011 7:59 AM, fru wrote:
> Hi, problem still exists. Got the same issue with a list not being
> populated in the parameter dialog using a scripted data set. Im using
> BIRT 3.7.1