Hi John,
Place "DO mymenu.mpr WITH THIS,.T." in the
Init event of your form and in "MODI REPORT ? IN frmmyForm" command use the Name of your form instead of
frmmyForm. The code could look like the following:
DO FORM frmmyForm NAME frmVarName
MODI REPORT ? IN (frmVarName.Name)
HTH
>Hi,
> I would like to allow user to modify report in top level form. I get error - Window is not defined. Pls help
>
>**CODE
>
>DO FORM frmmyForm
>DO mymenu.mpr WITH THIS,.T.
>MODI REPORT ? IN frmmyForm
>
>
>any ideas?
>
>Thank you
Alex