|
Re: Get report progression from engine API [message #774284 is a reply to message #772055] |
Tue, 03 January 2012 16:21 |
|
Alessio,
Currently the engine does not provide this feature. If would be
difficult to know how much data is going to be retrieved. You could
write some code to simulate percentage based on number of data sets and
use the progress monitoring interfaces to see when each is processed but
it would not be very accurate.
Jason
On 12/28/2011 5:37 PM, Alessio Pollero wrote:
> I have a desktop application(Swing) that run BIRT reports and i want to
> place a progressbar with a status label that show to the user the report
> generation status and progression in percentage, Is it possible to
> retrieve report progression in percentage ? How ?
> I use an IRunAndRenderTask to execute the report .
|
|
|
|
|
|
Re: Get report progression from engine API [message #774827 is a reply to message #774376] |
Wed, 04 January 2012 17:55 |
|
Not yet as the calculation could be wildly inaccurate.
Jason
On 1/3/2012 2:49 PM, Alessio Pollero wrote:
> Thank you Jason, i will implement it :) .
>
> Have you planned to implement the report of the progressione percentage
> for the next release ?
>
> Thanks again ...
|
|
|
|
Re: Get report progression from engine API [message #780610 is a reply to message #780510] |
Wed, 18 January 2012 18:36 |
|
Do you mean like start page and end page or start and end query? I do
not think there will be an easy way to determine this.
Jason
On 1/18/2012 6:32 AM, Alessio Pollero wrote:
> One more question :
> Each time that a task is started the start or ended an event is
> generated, to calculate the percentage i need the total number of task
> that a report will run, is it possible retrieve that value ?
>
> Thanks again.
|
|
|
|
Re: Get report progression from engine API [message #780867 is a reply to message #780619] |
Thu, 19 January 2012 18:21 |
|
You can the number of queries by looking at the report design, but as
for the others, I do not know of a way to know before the report runs.
The report has no knowledge of how much data is going to be processed
from the data sources.
Jason
On 1/18/2012 2:32 PM, Alessio Pollero wrote:
> Yes i want to know the overall number of task : pages, queries,
> rendering, and so on ...
>
> I need to know the total number to calculate a percentage ...
|
|
|
Powered by
FUDForum. Page generated in 0.03294 seconds