tab control/portal issue
I have a tab control object with 4 tabs.
Each of the tabs displays the same portal with a different 'sort' option.
There is a button on the first tab that performs a script. The script assumes the sequence of the entries in the portal on the first tab for its processing.
The first step in the script is a 'go to field xx' where the field is one of the fields displayed in the portal. Instead of 'going to' the field in the portal on the first tab, it goes to the field on the last tab and processing in the script continues from there. The script fails since it's working on a portal in the wrong sequence.
Why does that happen? How do I keep processing on the first tab for the duration of the script?