Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7264 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi All,

is there a way to find out if a particular db on the fmserver is open?

basically I want to do the following...

if (dbtest.fp5 is OPEN on the server) then ....

else

msg="the db is closed for repairs"...

Please Help

Zeina confused.gifconfused.gifconfused.gif

Posted

Create a script in the server file with one script step: Close[].

In your other file create this script:

Allow user abort [Off]

Set Error Capture [On]

Perform script [sub-scripts, External "dbtest.fp5" {close script above}]

If [status(CurrentError) <> 0

Show Message ["The database is closed for repairs"]

{Whatever other action would go here}

Else

Perform script [sub-scripts, External "dbtest.fp5" {Open script}]

{If this is an opener file} Close []

End If

Posted

Thanks this is awesome...

next question from a filemaker 6 db can I call an external script residing in a filemaker 7 db?

or vice versa?

Z

This topic is 7264 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.