I'm using VFP 6 but I would think code like the following will work in 5 as well.
_SCREEN.WindowState=2
_SCREEN.Visible=.T.
Wait WINDOW "Report is now printing to screen...." NOWAIT
Report FORM %report name% PREVIEW IN SCREEN
_SCREEN.Visible=.F.
HTH
>Hello,
>Has anyone ever gotten REPORT FORM PREVIEW to work in a TopLevel form w/no VFP window, in 5.0?
>TIA!
>Mark
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.