Hey all,
i have this code :
NOTE: i'm trying to pass one value from a field in Form A to a field in Form B.
in Form A, on button's clicked method :
void clicked()
{
FormRun formRun;
Args args;
args = new args();
args.parm(MyTableParent_MyID.text()); //from a datafield in Form A - Datasource sA.
args.name(formStr(MyFormChild));
formRun=ClassFactory.formRunClass(args);
formrun.init();
formrun.run();
MyTableParent_ds.refresh();
MyTableParent_ds.executeQuery();
super();
}
in Form B, on init() form method :
public void init()
{
str anycaller;
super();
anycaller = element.args().parm();
if(element.args())
{
MyTableChild_MyID.text(anycaller); // -----> in here nothing shows up
//but if i change it into :
MyTableChild_MyID.text("anything about string here it shows up.");
}}
This very makes me headache, can anyone help? Why the field won't showing value from element.args().parm(); ?????? Thank you!