Take a look at
Report Preview when using Top Level Forms FAQ #7961.
>Hi all,
>
>I have a top-level-form, and i need to display some reports, then create a window with define window, but when i run
>
>DEFINE WINDOW output FROM 0,25 TO 80,150 TITLE 'Impressão' ;
> IN DESKTOP CLOSE FLOAT GROW ZOOM
>
>SELECT * FROM ficmater where stk_real <> 0 into cursor tmp_stk
>
>REPORT FORM artigos_stock_diferente_0 PREVIEW WINDOW output IN WINDOW output
>
>
>the window don't show up.
>
>But if i run without the in clause the window show up but without toolbar.
>
>Another question, what is the way to lock the toolbar in this scenario?
>
>Thank's
>
>João BAtista
--sb--