To pass information from one firm to another

IN the clicked button of form A write following code,
void clicked()
{
Args args;
FormRun formRun;
;
super();

args = new Args(formstr(FormName));
args.parm(parameters);
formRun = classFactory.FormRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
formRun.detach();
parenttable_ds.refresh(); // Refreshing parent table DataSourceTable
parenttable_ds.executeQuery(); // Refreshing Parent DataSourceTable Query
}

IN form B init method write following code
args = element.args();
args.parm()

No comments:

Post a Comment