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.

Strategiy needed for dealing with offline database

Featured Replies

I work for an organization that usings filemaker out in the field with over a hundred laptop computers. At the start of a shift, employees download the latest data to their laptops. At the end of the day, they upload their new/updated data.

I'm looking for some suggestions on how to detect whether or not the laptop is connected to the network.

I use an error trapping method to check for a network connection in a similar situation you describe.

Setup a script (RemoteConnect) on your server file with just one script step:

Exit script

In your remote file, as a first part of your upload script run this:

Set Error Capture [ On ]

Allow User Abort [ Off ]

Perform Script [ Filename: "MyServerFile.fp5" (myserver), "RemoteConnect" ]

[ Sub-scripts ]

Set Field [ _error, Status( CurrentError) ]

If [ _error <> 0 ]

Beep

Show Message [ Buttons: "OK", "", ""; Data: "It appears you do not have a network connection that will connect with the Server.

Check your connection and try again." ]

Close [ Filename: "MyServerFile.fp5" () ]

Halt Script

End If

If the connection fails, it will record an error code other than "0".

This is from a V6 file, but a little tweaking and it should work for V7.

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.