>Not the same thing.
>
>Your command makes the zoom at 75%.
>My command makes the report designer windows full screen.
>
>But yes, your command works.
Diane,
I tried it on my pc and it zoomed the MAX.
Don't know why it stops at 75% on your pc.
I wanted to avoid the window name since the name changes.
Do you have a standard routine to print/preview ?
I picked up this from google
oForm = CREATEOBJECT("Form")
WITH oForm
.Caption = "whatever"
.WindowState = 2
.Show()
ENDWITH
REPORT FORM yourreport PREVIEW WINDOW (oForm.Name)
oForm.Release()
Gregory