|
Re: Report viewer, get user input and a dynamic list [message #716608 is a reply to message #716590] |
Wed, 17 August 2011 20:34 |
|
When the viewer builds the viewer the initialize event does not fire,
but the beforeOpen event on the datasouce should fire.
Jason
On 8/17/2011 3:19 PM, Tim Ames wrote:
> I am evaluating the report viewer and using that to get report parameter
> values from the user. One of them is a combo box list of choices that is
> populated via a database table.
>
> In the report design file, I am using the beforeOpen event of the Data
> Source to run a global function (defined in initialize event) to set the
> url string, etc. for the database connection string.
>
> This works great for the report generation. However, in the report
> viewer for user input, when it shows the choices in the combo box, it
> appears that the database url,etc are NOT being replaced in the Data
> Source. Is there a different place/event that I need to hook into with
> the report viewer so that the initialize and beforeOpen events fire
> before the combo box is rendered? It is using the default odaURL, etc.
> that is defined in the XML.
>
> Thanks for any insight.
|
|
|
Powered by
FUDForum. Page generated in 0.02195 seconds