First of all I suggest duoblecheck if Menu item set on the button refers tu Web form object you want to open.
Second - what's on the second web form? Maybe you didn't add any objects to it so it is empty and shows nothing. Third - try this on first web form's button's clicked(): WebLink webLink; Args args; MenuFunction mf;// if you need to pass something ; webLink = new WebLink(); args = new Args(); args.parmObject(element); mf = new MenuFunction(menuItemActionStr(mnuItemWEBForm2), MenuItemType::Display); mf.create(args); // if you need to pass something webLink.record(SomeRecordFetchedBefore); // if you need to pass something webLink.menufunction( mf); webSession().redirect(webLink); --- Andre Klopper <[EMAIL PROTECTED]> wrote: > Hi, > > I feel very stupid at this stage but here goes... > > I've created my a a duplicate of SimpleWebApp, that > is fine that is working > and I can get logged in. > > The problem. Created 2 webForms. 1 - With webButton > with properties > MenuItemName and WebTarget set to menuItem for > webForm2 on it. This is > suppose to open webForm2. But that just does not > happen. No this must be > very easy right. LOL but I just can't get it to > work... Tried the following > aswell. > > WebLink webLink; > > ; > > super(); > > webLink = new WebLink(); > > webLink.Webpage("myWebPage"); > > WebSession().redirect(webLink); > > > Regards > Andre Klopper > > Paulius Cerniauskas ICQ: 280959446 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/