//To refresh caller form ax 2012
//CLass
#Task
FormRun formRun;
formRun = element.args().caller();
if(formRun)
{
formRun.task(#taskF5);
}
//form
FormRun callingForm;
Object o;
;
callingForm = this.args().caller() as FormRun;
if (callingForm != null && formHasMethod(callingForm, identifierStr(refresh)))
{
o = callingForm;
o.refresh();
}
callingForm = element.args().caller();
callingForm.dataSource().refresh();
callingForm.dataSource().reread();
callingForm.dataSource().research();
//CLass
#Task
FormRun formRun;
formRun = element.args().caller();
if(formRun)
{
formRun.task(#taskF5);
}
//form
FormRun callingForm;
Object o;
;
callingForm = this.args().caller() as FormRun;
if (callingForm != null && formHasMethod(callingForm, identifierStr(refresh)))
{
o = callingForm;
o.refresh();
}
callingForm = element.args().caller();
callingForm.dataSource().refresh();
callingForm.dataSource().reread();
callingForm.dataSource().research();
No comments:
Post a Comment