November 07, 2007, 12:13 PM
LushengMaintain Menu Item event self.winExit();
I had Maintain (close project button) generated event
Case OnMenuBar1_ClickExit
self.winExit();
EndCase
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
Thanks.
November 07, 2007, 01:38 PM
Dave 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 PM
LushengThe maintain applications are called in the same way, and I did not see the differences in the coding. Thanks.
November 07, 2007, 10:25 PM
BikYou 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 AM
LushengIt's working now. I missed a statement document.referer in the maintain code. Thanks for all your response.