I have searched both this and the 4/5 forum and have found no solution for my problem. I have a tabbed table and one of the tabs has another tabbed table within it. I need to refresh the form on certain field changes which I have working well, execpt it moves back to the first tab.
I have tried using the code I found below:
In the OnChange event, put in the following:
with(document.forms[0]) {_doClick(‘$Refresh’, this, ‘_self’, ‘#fldABC’)}
…where fldABC is the name of the field. Also, the # sign must precede the field name.
or
Put in a Pass-thru HTML tag such as:
…and in the OnChange event:
with(document.forms[0]) {_doClick(‘$Refresh’, this, ‘_self’, ‘#AnchorABC’)}
I have tried this using a radio button and a dialog box and no matter what I do it still takes me to the first tab.
What can I do to that the focus after the fresh is on the correct field on the correct tab?