Skip 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.

Scripting against multiple databases

Featured Replies

Hello,

I'm new to using Filemaker (but not to database programming). We've purchased an application written in FileMaker (multiple databases with defined relationships and lots of scripts). I took a data collection that we purchased from another institution and created a Filemaker database(s) (multiple databases with portals in the central one to show the relationship between the different metadata).

I'm trying to understand how scriptmaker works to determine if I can map the data collection into the purchased application. I'll need to be able to "open" the multiple databases and read records and write records without necessarily closing one file before working with another. Does scriptmaker support "file handles" like some programming languages? This is necessary because I'm working with parent/child metadata that needs to be maintained when mapped from one dataset into the other. And there are authority tables that may need updating, etc.

Any tips would be appreciated. Book or web/article recommendations are welcome. I was just assigned this project and they would like it done before the fall semester starts.

Thanks in advance,

Jack

Scriptmaker is great for doing this internally to filemaker. Automating FM specific tasks, etc. It's very high level and uses variables in the form of fields. File handles are not a native type for FM. The scriptmaker allows you to launch other applications.

So you can always write a script or program in whatever language you want and launch it from within scriptmaker. If you are working with Mac then applescript is a very handy tool for this.

The key is to think in terms of Filemaker. If you are transfering data around between databases, you'll probably need the export functionality. FM tries hard to abstract details away from the users, so the notion of file handles wouldn't be the same.

  • Author

Hi Paul,

Thanks for the info. At least I know what I need to do is possible in FM. I am using a Mac, but I've never used applescript either. My work is web development using PHP and MySQL. I've been loaned to another department to do this Filemaker work. I'm going to look into the FM script/applescript possibility next week when a colleague that knows it well gets back from vacation.

However, last night I realized that if FM supports ODBC that I could use Perl. It does! Since I'm crunched for time and more familiar with Perl, I'm going to test that for now while I wait until Monday for the Mac guru to return from vacation.

-Jack

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.