Carlos,
YOu may need to make your system go pseudo-modal using wexist() inside a loop after you issue the MODI REPO command to delay until they exit the report designer.
modi repo xyz nowait
do while wexist( "the windowname" )
=inkey( 1 )
enddo
>I allow users in all reports, to send them to printer, to preview, to file or modify the report. I do this trhough a form class (modal) with this options that returns to me the option choosed by the user.
>
>Before issuing report command, i do
>ppp = createobject("myclassform")
>ppp.show(1)
>
>then the user selects the option. If he selects modify report, then i issue 'modify report myreport'.
>All works fine in non-modal forms. But in a modal form, the command 'modify report' after the createobject of this other modal form doesn't do nothing.
>If i dont creates the object (testing) the modify report command works fine.
>Any ideas?
>
>It's a problem to create a modal form within another modal form?