RB7.01/D6.02/daAsta/report explorer ShowQueryProgress causes bad first page of preview
For some reports with large queries and users on slow links I want to
use the TAstaClientDataSet.ShowQueryProgress property. This shows a
progress meter of the data transfer from the Asta server to the
client. This works fine in general.
However when you preview a report from the report explorer the first
page is rendered as if in the designer and you get object names not
data values. For instance for a TppVariable in TppVariable.GetTheText
it thinks it is not printing and shows the variables name not value.
if (pppcDesigning in DesignState) and not(Printing) then
lsText := lValue
(Printing) evaluates to False for the first page.
When you click the next page all is well (and you can go back to page
one and see the data). It doesn't seem to be a if you preview from
within the designer.
Is there something I can do about this?
Thanks,
Rick Matthews
Dartek Systems Inc.
use the TAstaClientDataSet.ShowQueryProgress property. This shows a
progress meter of the data transfer from the Asta server to the
client. This works fine in general.
However when you preview a report from the report explorer the first
page is rendered as if in the designer and you get object names not
data values. For instance for a TppVariable in TppVariable.GetTheText
it thinks it is not printing and shows the variables name not value.
if (pppcDesigning in DesignState) and not(Printing) then
lsText := lValue
(Printing) evaluates to False for the first page.
When you click the next page all is well (and you can go back to page
one and see the data). It doesn't seem to be a if you preview from
within the designer.
Is there something I can do about this?
Thanks,
Rick Matthews
Dartek Systems Inc.
This discussion has been closed.