Hi all, I want to ask how to pass multiple fields to form?
example in FormA :
Args args;
FormRun formrun;
;
args = new args();
args.parm(_salesid);
args.parm(_itemid);
args.parm(_costtransrefid);
args.name(formStr(FormB));
formrun = classFactory.formRunClass(args);
formrun.init();
formrun.run();
formrun.wait();
FormB:
void initvlaues()
{
salesidparm = element.args().parm();
itemidparm = element.args().parm();
transrefidparm = element.args().parm();
info(strFmt("%1", salesidparm));
info(strFmt("%1", itemidparm));
info(strFmt("%1", transrefidparm));
}
the problem is the infolog only show the _costtransrefid value, how to pass multiple value to each variable in formB? because I'll need it as query range filter in formB
*This post is locked for comments
I have the same question (0)