Refresh on Web Moves/Jumps Screen

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?

Subject: Try this.

  1. Assign your tabbed table a name in the Name/Id field (e.g., “MyTable”).2. Assign each of your rows a name in the Row Tags field (e.g., “Row1”, “Row2”, “Row3”).

  2. To your form add a computed-when-composed field outside the table. Name this field “$” + the name of the table from step 1 (e.g., “$MyTable”). Set the formula of this field to the Row Tag value of the first tab on your table (e.g., “Row1”).

(My table also has Which row to display set to “Switch rows programmatically” but I don’t know whether this is required.)