Re: open shared filemaker pro 3 databases
Re: open shared filemaker pro 3 databases
- Subject: Re: open shared filemaker pro 3 databases
- From: Paul Skinner <email@hidden>
- Date: Fri, 07 Sep 2001 13:38:49 -0400
on 9/7/01 1:14 PM, Robert Jacobson wrote:
>
Can someone point me to a script that will open a shared filemaker
>
pro database.
>
>
The usual way we open the database is go to the "File..Open" dialog
>
and click the Hosts button, find the database in the list, click
>
"Open".
Here's a handler and call to do it in FileMaker 4. It may work in 3. I don't
have 3 here to test it.
openFMPDatabase({databaseName:"databaseName",password:"password"})
on openFMPDatabase(parameters)
try
set databaseName to databaseName of parameters
on error
return false
end try
try
set password to password of parameters
on error
set password to "defaulPassword"
end try
----------
tell application "FileMaker Pro"
if not (exists window databaseName) then
activate
try
open databaseName with password password
on error
return false
end try
end if
end tell
return databaseName
end openFMPDatabase
--
Paul Skinner
When they broke open molecules, they found they were only stuffed with
atoms. But when they broke open atoms, they found them stuffed with
explosions.