>>>>>O.K. I figured out why the preview was burried. I have desktop set to true. How do I get the print preview to be on top when I have desktop set to true?
>>>>
>>>>Have you tried something like:
>>>>
>>>>.desktop = .f.
>>>>report preview etc...
>>>>.desktop = .t.
>>>>
>>>>/Paul
>>>
>>>Don't do this. Desktop is read-only in run-time. Instead of this use:
>>>Thisform.hide
>>>report form .... preview
>>>Thisform.Show
>>
>>How about the case where I have 3 form open at once?
>
>The easiest answer is to hide/show all of them. But sophisticated people would advise ZOrder.
In order to do what I wanted I didsomething like this
_screen.left = 0 &&to get back the VFP main window
report form report1 preview
_screen.left = -2000 &&to get ride of VFP main window
Does this seem like a efficient approach?
Bob Sides
SDGS
Vermillion, SD