Thanks Elmer.
I'll give it a go.
BTW: I never met a person with the name "Elmer". Real or nickname?
Thanks again.
>>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.
>
>*!* name of the report to create or modify
>m.lcCrCustomForm = "myreport.frx"
>
>*!* save current state of set resource to return after modify report command
>m.lcCRSetResource = SET("resource")
>m.lcCRSetResource1 = SET("resource",1)
>
>IF FILE("RPTTOOLS.DBF")
> *!* set resource to enable report tool bars
> 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
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching