hi all,
i am having formA and form B (both custom forms.) Form A contains Table A, TableB(header n line). Form B contains Table B only(a dialog form).
when i click on new button(its a menu item button) from Form A it opens FormB. when i create the record in the dialog form, when i click on Ok button. i need to refresh the Table B of formA.
i hav written the below code in Form B and called it in OK button of Form B. its refreshing the table A instead of Table B. any suggestions pls..
private void CallerFOrmDS_Refresh()
{
Object calleform;
FormDataSource fds;
calleform = element.args().caller();
fds = element.args().record().datasource();
if(calleform)
{
fds.refresh();
fds.research(true);
}
}