FormRun.name Method [AX 2012]
Retrieves the name of a form.
The following example shows a call to the name method to return the form name.
void runForm(Form form)
{
Args args;
FormRun formRun;
FormDesign formDesign;
str formName;
args = new Args();
args.object(form);
// Create the run-time form.
formRun = new FormRun(Args);
formRun.run();
formRun.detach();
formName = formRun.name();
}
Community Additions
ADD
Show: