Hi James.
The second parameter in the FindWindow() should be exact title of the window you're looking for.
>Hi!
>
>using the function FindWindow, I have not been able to find a report that I visualize with MODI COMM prtProduccion.txt NOEDIT
>
>I try with this:
>
>FindWindow (0, THIS.oReportRef)
>
>where
>
>THIS.oReportRef = 'prtProduccion.txt'
>
>Thanks,
--sb--