If you are running report from a form with a grid, move focus of the grid before calling the report.
>below command in
partyled.command1.click()>
>use hafinish in select("hafinish")
>
>sele hafinish
>use in select("partyled")
>if not file("partled.dbf")
> copy stru to partled
>endif
>
>use partyled in select("partyled") excl
>
>sele hafinish
>go top
>do while not eof()
> sele partyled
> append blank
> repl.....
> select hafinish
> skip
>enddo
>sele partyled
>go top
>report form partyled to print prompt nocons nowait
>
>
>
>the above command showing first page perfect, but when i click on next page, it is giving error "variable rem1 not found..."
>
>if i remove the NOWAIT, it is showing perfect report .
>
>i am using private datasession
>
>warm regards,
>mk.
--sb--