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.

Exporting & Importing Records from a Runtime

Featured Replies

  • Newbies

I am really hoping that this seemingly simple situation can be resolved in FM8 Advanced. Keep in mind that this has to be a runtime! I am working on an application where in one database I am required to have a looping script to parse constantly incoming data into a table. Thereby causing no user from being able to interact with the data being imported and parsed. So, what I need to happen is for this dbase to export the data to an external table. However, the "export records" script step in Scriptmaker will only overwrite previously exported data, with no way to append the data to an existing dbase.

What I have working from WITHIN Filemaker, is that I execute a SQL statement and insert the data into an "intermediate" access database via ODBC. This way my second runtime could get those records at leisure and purge them from the "intermediate" dbase. However, when the runtime is compiled, guess what? The Execute SQL statements in Scriptmaker are not supported via a runtime, and are simply skipped.

Next, I tried to build a relationship between file A and File B, and bind them together in the runtime. This did not work either, as there can only be one "primary" file in the runtime, and the looping script in File A seizes the application as if they were not seperate files.

Surely, this can be accomplised without a plugin!

Basically, what I need know is can one FM8 RUNTIME append data to an "intermediate" dbase and then the second RUNTIME be able to also interact with this table to retrieve and then purge the records? Or better yet just export the records directly into the second runtime dbase!

Thanks in advance for any help in a solution to this problem

It's not clear if you incoming data is in a FMP file or an SQL file.

The export records is the wrong approach if you intend to append data from one db to another, you'll need to use IMPORT.

Forget the plugins, as you will find out there is little support in runtimes here, but also check out the other limitations of runtimes v. natives before you do any more development.

By now, I would suggest you have already spent more of your time than the cost of an FMP licence - rethink?

It's not clear if you incoming data is in a FMP file or an SQL file.

The export records is the wrong approach if you intend to append data from one db to another, you'll need to use IMPORT.

Forget the plugins, as you will find out there is little support in runtimes here, but also check out the other limitations of runtimes v. natives before you do any more development.

By now, I would suggest you have already spent more of your time than the cost of an FMP licence - rethink?

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.