Hard to say. Using Go to layout is an extremely common script step. I've used it in many versions many, many times and it has never, ever changed the layout's view from its current setting. Nor have I seen any reports matching what you describe here or over in the "Report an Issue" section that is intended for posting possible bug reports.
When you ran this script, was it a single user file on your machine or hosted from a server? (I'd expect that you have it as single user, but there's a possible explanation if it's hosted from another computer.)
When you stepped through the above script, can you confirm that no script triggers fired and started up a different script? (You'd see if pop up in the debugger.)
Another longshot: Do you have an OnLayoutExit trigger specified for the "Person_Picker" layout?
Finally: What version of FileMaker are you using and on what version of what operating system?
Thanks for the reply PMJ.
It is a local file. I am using FMProAdv11. There are no other scripts running or called. This happens to me on Win (WinXP) & Mac platforms (OSX Snow Leopard) & different installations (at work-Win, at home-Mac). It's so frustrating! I was afraid I'd get something like this.
I have just figured a bit of it out. If I go to the Layout and switch to a view, then CLOSE FileMaker & re-open it the file, it will then use the last View I looked at as the view for a script. Seems a bit buggy for that to even over-ride the default view setting. Things work now.