I am maintaining an older visual foxpro program that produces a report
that was working before I "fixed it". It now either prints a blank
page, a page with repeating first records or just the first record. I
have used reports with data environments, without and have changed it
sideways to Sunday, but when I preview the report, I see the correct
data and click the button to print and something happens to the data
and when the report appears it is wrong. Any suggestions would be
greatly apprieciated.



--
hondo
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Re: Report data is wrong by Leonid

Leonid
Wed Apr 05 02:38:28 CDT 2006

This behaviour commonly occurs when focus stays in grid while previewing
report. If so, put

Thisform.AnyControlThatIsNotGrid.setfocus

before report command

Leonid

"hondo" <hondo.25rktw@mail.codecomments.com> wrote in message
news:hondo.25rktw@mail.codecomments.com...
>
> I am maintaining an older visual foxpro program that produces a report
> that was working before I "fixed it". It now either prints a blank
> page, a page with repeating first records or just the first record. I
> have used reports with data environments, without and have changed it
> sideways to Sunday, but when I preview the report, I see the correct
> data and click the button to print and something happens to the data
> and when the report appears it is wrong. Any suggestions would be
> greatly apprieciated.
>
>
>
> --
> hondo
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>