Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Best way to see if server is connected from stand alone DB

Featured Replies

I have a stand alone db that runs on a computer and periodically needs to sync up with FMS I can not guarantee that the network is available though. So I figure to test to see if its running and if so, do an import.

What is the most elegant way to test if FMS is available? (this is similar to the heartbeat thread but I need to test from a FMP DB

Charles

The simplest is to issue the Import step and trap for errors.

...

Set Error Capture [ on ]

Import Records [ restore ]

Set Variable [ $error ; Get( LastError ) ]

Set Error Capture [ off ]

If [ $error = 0 ]

// no error

Else

// error importing records

End If

  • Author

Thanks Vaughan

I have an application where my remote DB (controls a 24hr access door) pulls profile information from FMS but if and when it looses contact(wireless) with FMS I want it to be in a crippled mode. So i mirror some profile information on a local DB. Your method should work for importing but my question is what can I do if I want to reference a Server table in my local DB and the its not there? it seems that filemaker errors out about the remote database being unavailable but does not trigger an error.

I hope this makes sense.

cD

what can I do if I want to reference a Server table in my local DB and the its not there?

I'm not sure.

My gut reaction is to work backwards: make the door database self-contained. Get the remote database to connect to the door database periodically to get data updates. That way the door databases will happily work with no network connection.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.