void clicked() // Button of a form it is optional
{
Args args;
FormRun formRun;
;
super(); // will be comment in case of MenuItemButton includes MenuItemName
args = new Args(formstr(FormName));
args.record(DataSourceTable); // as argument is optional
args.parm(Text); // Text Argument is optional
formRun = classFactory.FromRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
formRun.detach();
table_ds.refresh(); // Refreshing parent table DataSourceTable
table_ds.executeQuery(); // Refreshing Parent DataSourceTable Query
}
No comments:
Post a Comment