November 07, 2007, 12:13 PMLusheng
Maintain Menu Item event self.winExit();
I had Maintain (close project button) generated event
in menu item Exit. This supposed to exit the application and return to the calling asp page, but I got WEBFOCUS WAS CALLED WITH AN INVLAID REQUEST. I checked our other Maintain applications, that event does return to the calling asp page. I am not sure what is missing for this application.
Windows Server 2003/Webfocus 7.63
November 07, 2007, 01:38 PMDave Ayers
> exit the application and return to the calling asp page
Have you looked for differences in the way this Maintain program is called ?
November 07, 2007, 04:27 PMLusheng
The maintain applications are called in the same way, and I did not see the differences in the coding. Thanks.
November 07, 2007, 10:25 PMBik
You should really be using "self.winclose()" on a child form and "self.winexit()" on parent forms so that the form will be closed and not the session.
Hope this helps
November 08, 2007, 09:48 AMLusheng
It's working now. I missed a statement document.referer in the maintain code. Thanks for all your response.