Title: Nachricht
hi sonny,
 
thank's for replay, good idea - but:
the mentioned form (in my case: smmQuotationTable) will be called from other places in the application by the same menuitem. so I can't distinguish if the form was called by the "go to maintable" function or not....
 
anybody else a hint...?
 
regards
wolfgang
-----Urspr�ngliche Nachricht-----
Von: Sonny Wibawa Adi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 8. April 2004 07:34
An: [EMAIL PROTECTED]
Betreff: Re: [development-axapta] The never ending "go to maintable" thing...

Hi wolfgang,
 
 
For default, axapta will call a menu item that having the same name with the table name. For example, you can check the menutemname caller using args object.
 
void init()
{
    if (element.args.menuItemName() != null && element.args.menuItemName() ==  menustr(InventTable))
    {
        // here is your code..
    }
}
PS: you may want to check too that the menuitemtype is a menu item display.
 
 
Regards,
 
Sonny Wibawa Adi


wohegro <[EMAIL PROTECTED]> wrote:
hi there,

does anybody know if it's possible to indicate in an opened form, if
the form was called by an "go to maintable" jump ?

thank's in advance
regards to all
wolfgang



Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today


Yahoo! Groups Links

Reply via email to