//Args PassRecord to Form.
Args args;
FormRun formrun;
;
args = new args;
args.parm(Salesid.valuestr())
args.name(formstr(SalesTable))
formrun = new formrun(args);
formrun.init();
formrun.run();
formrun.wait();
//init method of other form
if(element.args.parm())
{
salesid = element.args.parm();
}
//excutequery method of form
this.query().datasourcetable(Tablenum(SalesTable).addrange(fieldnum(SalesTable,Salesid)).value(salesid));
Calling SalesTable list form to SalesTable Card form
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.