Requirement :- Some time we need to switch from a form to another form and have to update delete or create data which will effect the main form also. But the issue we mostly face that the calling form couldn't refresh the data without refresh. Write the below line with your logic can achieve the same.
void clicked()
{
FormRun formRun;
#task
super();
formRun = element.args().caller(); // will hold the calling form buffer
/* write your Logic here to execute in Form B or Form A */
//Write the below code for refresh your calling form A
if(formRun)
{
formRun.task(#taskF5);
}
}
void clicked()
{
FormRun formRun;
#task
super();
formRun = element.args().caller(); // will hold the calling form buffer
/* write your Logic here to execute in Form B or Form A */
//Write the below code for refresh your calling form A
if(formRun)
{
formRun.task(#taskF5);
}
}