Going to Portal doesn't automatically make a row active?
I have a couple of portals on a layout that look through the same relationship, but show different records. I.e. portal 1 shows is set to start at row1, portal 2 starts at row2, etc. Each portal has a unique name. What I have found is that if I script the process of going to portal2 for the purpose of reading/writing/deleting/etc information about that 2nd record, it doesn't automatically make the portal row/record active. My script gets an error 3 ("wrong mode") when trying to set a field on that row for instance.
What I have done in my scripts is add an 'go to portal row [first]' after going to the portal object. This seems to work, but just caught me off guard. I guess I haven't tried naming an object within the portal row, just the entire portal object.
Is this normal portal behavior? I thought giving it a name and going to that object would activate the row itself (and thus put my script in the context of that related record).