>Thanks for your response.
>But the code do not work correctly, because the window with the report appear
>behind the other forms of the program.
>I test it in VFP 6.0.
>Many Thanks.
Try to set AlwaysOnTop property to .T.
Can you provide more info about your application? what kind of form are you using?
--sb--