> > Dear Experts,
> >
> > I have created a program(genmenu.prg) that will generate a menu bar according to the data from tables. Before calling the genmenu.prg, i set the sysmenu off first. Than, I issue the command 'do genmenu.prg'. It seems work. But when i calling a report with preview parameter, and press 'ESC', my menu is disappear. What's wrong. Would you help me to solve it.
> >
> > Thanks
> >
> > Toms
>
> we also encounter that problem, what we did is call the menu again. it seems that the menu was destroyed when you call a report. just try it.
>
> p.s. im not an expert. :->
>
Tom,
Try ON ESCAPE command to run a dummy procedure while you are in the Report Preview and then reset it back once you're done with the preview.
Bebot