>Thanks for you response George (and Jim and Evan). I did what you suggested and it still doesn't preview the form. (Incidentally, the syntax IN is not valid in the IN WINDOW statement). I also tried an Activate window Previewform in window myformname. It activated the Previewform, but still didn't display the report.
>
>If you have any more suggestions I'd really appreciate them. I'm pulling my hair out on what seems to be a simple problem.
>
>Thanks Again,
>
Hi Barry,
You must be using a version prior to 6.0. In 6.0 the IN specifier was added. The code that I posted, was copied straight from an app in production and works fine. If I recall correctly, one of the reasons that it was added was to allow SDI forms to properly be able to preview reports.
George
Ubi caritas et amor, deus ibi est