Friday, April 1, 2022

Relation between args and table buffer and formdatasource and Get menu item name from formRun and elements

 FormDataSource = _args.caller().datasource();


TableBuffer = FormDataSource.cursor();


TableBuffer = _args.caller().datasource();.cursor();







Get menu item name from formRun and elements

if (element.args().menuItemName() == menuitemdisplaystr(YourFormMenuItem))




FormRun formRun = sender.formRun();

formRun.args().menuItemName()