filemaker switch the focus between two Db

tell application “FileMaker Pro Advanced”
activate
–activate the first database and the script
getURL “fmp7://192.168.6.24/test1.FP7”
tell database “test1”
do script “test 1”
end tell
–activate the second database and the script
getURL “fmp7://192.168.6.24/test2.FP7”
tell database “test2”
do script “test 2”
end tell

end tell

the problem is that i don’t know how to switch to the second Db, the focus remain on the first.
Please help me