>Thanks.
>Cool.
>
>One last thing. Does the File manu pop up once the MODI REPORT statment is issued, or do I have to create the File menu?
>
>thanks again.
>
Hi Dean,
I don't think that the menu is automatically there unless you already have a menu with the default file, edit, window... menu pads and it is set to automatic. In my applications, I use a custom menu that doesn't automatically add the required menu pads but when I issue modify report. I set up the default menu and set it to automatic before calling modify report as shown below. I also have a resource file (foxuser) that I have named RPTTOOLS.DBF that I use that has the report toolbar docked and visible with the record for it set to readonly so that if the user moves or closes the tool bar, it will still be there every time that a report modified or created.
m.lcCrCustomForm = "myreport.frx"
m.lcCRSetResource = SET("resource")
m.lcCRSetResource1 = SET("resource",1)
IF FILE("RPTTOOLS.DBF")
SET RESOURCE TO ("RPTTOOLS.DBF")
SET RESOURCE ON
ENDIF
PUSH MENU _MSYSMENU
SET SYSMENU TO DEFAULT
SET SYSMENU AUTOMATIC
MODIFY REPORT (m.lcCrCustomForm)
POP MENU _MSYSMENU
SET RESOURCE TO (lcCRSetResource1)
SET RESOURCE &lcCRSetResource
HTH