Re: Refresh Form in Tab Application
Hi,
you should be able to reload just the iframe by calling a javascript method.
Find out the id of the iframe. It looks like “nmsc_iframe_liga_form_mb” where “nmsc_iframe_liga_” is always the same followed by the name of the form or grid.
Create a javascript method i. e. reload_iframe
parent.frames[“nmsc_iframe_liga_form_mb”].window.location.reload(); //There are other options for reloading an iframe so you might have to tinker a bit.
Once again you have to put the iframe id of your page between the brackets!
In the onAfterUpdate/onAfterInsert event use the sc_javascript() macro to call the method.
I hope this points you in the right direction. At least this works in a Master/multiple Detail scenario where the details update each other without reloading the page.
As I said, you probably have to tinker a bit.
jsb