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.

FM12 Server and Update External MySQL Via ESS

Featured Replies

I want to know if FM Server 12 can update a external MySQL db in the same manner as the client can using ODBC connection (ESS). It works great when running the scripts on the client, but seem like it won't work in the same manner via server and server scripting.

I am using all relevant drivers and it does work with my solution, but I'm looking to move, automate and schedule this process to the server itself.

Thanks in advance.

Michael

FMServer cannot actually see other FMServers, and presumably on that basis ESS based connections to SQL sources.

 

I recently tested this by trying to import data between 2 FMServers. The import records command yields error 100 (File is missing), although this does work when run using FMPro.

 

I don't know the true technical reasons behind this, but certainly looks like the fmnet: protocol has been removed from FMS.

 

Have you though about running a 'redundant' slave FMPro with an OnTimer script, or even a scheduled OS task.

Well, first, files hosted on one FileMaker Server can access data in files on other FileMaker Servers, providing that the file references (external data sources) are correctly set.

 

That said, not all actions work as you might expect.  And that specifically includes direct import.  An intermediate text file is usually needed to do this. or, you can use a looping script to create records.

 

Finally, ESS access may not be fully supported for server side actions.  You may need to experiment some.  Try the looping script on a small set of data from the ESS file (via a table alias on the Graph) and see what you can do with that.

 

Steven

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.