>Thanks for the word of warning.
>I have taken care of that.
>I have set the property in my form but how would i do it with just code?
I turn off the main close X with
_SCREEN.CONTROLBOX = .F.
Before I send the report to preview.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope