knowledge-database (beta)

Current group: dbase.reports

ReportViewer display position after second opening

ReportViewer display position after second opening  
Heinz Kesting
 Re: ReportViewer display position after second opening  
Heinz Kesting
 Re: ReportViewer display position after second opening  
Todd Kreuter [dBVIPS]
 Re: ReportViewer display position after second opening  
Heinz Kesting
 Re: ReportViewer display position after second opening  
Heinz Kesting
From:Heinz Kesting
Subject:ReportViewer display position after second opening
Date:Mon, 10 Jan 2005 15:00:19 +0100
Hi everyone,
I use the ReportViewer object to display a preview before finally printing
the report. If the user just goes down the page (the ReportViewer does not
display the full paper size) to look at details at the bottom of it and then
closes it, the ReportViewer displayes the bottom of the new page. However, I
think it should now display the top of the new page, shouldn't it?
It may be considered a blemish, but it can be confusing, as well. Perhaps
there's a simple trick to get around it?
I tried with
report.startPage = 1
before it is opened aghain, but that didn't do the trick. Any other
suggestions?

Thanks in advance
Best regards, Heinz
From:Heinz Kesting
Subject:Re: ReportViewer display position after second opening
Date:Thu, 13 Jan 2005 00:11:50 +0100

"Heinz Kesting" schrieb im Newsbeitrag
news:3dUu8yx9EHA.1128@news-server...
> Hi everyone,
> I use the ReportViewer object to display a preview before finally printing
> the report. If the user just goes down the page (the ReportViewer does not
> display the full paper size) to look at details at the bottom of it and
then
> closes it, the ReportViewer displayes the bottom of the new page. However,
I
> think it should now display the top of the new page, shouldn't it?
> It may be considered a blemish, but it can be confusing, as well. Perhaps
> there's a simple trick to get around it?
> I tried with
> report.startPage = 1
> before it is opened aghain, but that didn't do the trick. Any other
> suggestions?

Setting the Subform which contains this reportviewer to NULL in the OnClose
event of the subform did the trick, finally ...

Regards, Heinz
From:Todd Kreuter [dBVIPS]
Subject:Re: ReportViewer display position after second opening
Date:Thu, 13 Jan 2005 21:25:58 -0500
"Heinz Kesting" wrote in message
news:hJeYcwP%23EHA.888@news-server...
>
> Setting the Subform which contains this reportviewer to NULL in the
OnClose
> event of the subform did the trick, finally ...

I have this problem as well, have not bothered to find a fix. Will try that
out, thanks.

Todd Kreuter [dBVIPS]
From:Heinz Kesting
Subject:Re: ReportViewer display position after second opening
Date:Fri, 14 Jan 2005 09:44:58 +0100
Hi Todd

> I have this problem as well, have not bothered to find a fix. Will try
that
> out, thanks.

I'm glad that I could be of help ... it was teasing me for quite a while!

Best regards, Heinz
From:Heinz Kesting
Subject:Re: ReportViewer display position after second opening
Date:Mon, 10 Jan 2005 15:13:05 +0100
Sorry, what I wrote could be mistaken.
Here's a correction for it ...
> I use the ReportViewer object to display a preview before finally printing
> the report. If the user just goes down the page (the ReportViewer does not
> display the full paper size) to look at details at the bottom of it and
then ...

closes it, the ReportViewer displayes the bottom of the new page when it is
opened again.
Each time after re-opening it displayes excactly the part of the report that
was displayed when it was closed.

> However, I think it should display the top of the new page after
re-opening, shouldn't it?
> It may be considered a blemish, but it can be confusing, as well. Perhaps
> there's a simple trick to get around it?
> I tried with
> report.startPage = 1
> before it is opened again, but that didn't do the trick. Any other
> suggestions?
   

Copyright © 2006 knowledge-database   -   All rights reserved