Filemaker Open Remote

Hi
Can someone please tell me if it is possible to create an AppleScript that can open a database off a remote host (FM Server 5.5). I don’t want to use an opener-style database to do it as the AppleScript directly manipulates the database, so I want to add something where it can check if the database is open and, if it’s not, open it with the correct password
Any suggestions appreciated!!