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.

Filemaker internal row ID using mySQL

Featured Replies

Is there a way to get the filemaker internal foreignID if using a mysql datasource.

You can use FileMaker as a data source and extract data from it "directly". You need to be using FileMaker Server Advanced.

http://www.filemaker.com/11help/html/odbc.18.1.html

With that said, you may have other options depending on your exact needs. Here are a couple off the top of my head ( I'm sure others can add more ):

  • Use FileMaker's ESS ( External SQL Source ) feature to connect FM to the MySQL database, and set the field in MySQL using FileMaker. You could also incorporate into the FM file the 'automatic' set of the field in MySQL whenever a record is created. That way you don't need to manually retrieve the value. Script Triggers or other techniques come in handy here.
  • Export from FileMaker to a network location that the MySQL database has access to and import.

  • Author

I have the datasource as just mysql. My issue is that when i create a snapshot link and view the file in a text editor the foreign id does not match any off the data in mysql. I was hoping that I could have a calc that could give me the id so that i can generate the snapshot link outside of filemaker

Wow, I totally read that the wrong way. I haven't used the snapshot links too much. I'll test a few things and see if I can duplicate the issue you are seeing.

  • Author

Okay i have got a bit of a work around. I have created a new table and use Filemaker as its datasource. When I create a new record in MySql via Filemaker I create a record in this new filemaker data table. I can then use the internal row id of the new table to create the snapshot link. this takes me to a layout based on the filemaker data source but that has a script trigger to go to a related record in MySQL

It seems to be working fine.

The only issue is that it opens the snapshot in a new window each time. Is there a way around that?

  • Author

I guess that I could right a script top close all windows but the current one. Not sure how to do that however

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.