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.

Transfer data between open files

Featured Replies

Good morning. I have a large filemaker file which works around a customer database. I wish to call a second database from my customer table but have the ability to transfer the customer name to the new database so that it selects the correct record. I have tried writing the customer name to a global variable and the opening the second database but the value in the variable is lost. Is there anyway in which this can be done.

Cheers - Graham

Your terminology is a bit off...Sounds like you have two files, and you wish to relate by Customer. However, you should use a unique ID for the customer, not the name. What if you have two customers with the same name?

The other question I have, is why two files? Why not two tables in the same file?

Anyway, you can "send" the CustomerID to the other file's script using a script parameter.

  • Author

Hi bcooney. Thanks for that. Yes I was being a bit general, I intend the link to be by a unique customer number. I shall give that a try in the script that calls the second file. The reason that there are 2 files is that they already exist, albeit the second file is at present not set up with customer detail, that is what I am trying to correct.

Consider merging the files into one file with multiple tables.

Merging the two files into one would allow you to use the "Go to Related Record" script step to skip from one table to the next. If you have two separate files, then this step won't work. Instead you can use the "Perform Script" step to call an external subscript in the related file, and pass the customer ID as a script parameter. The subscript in the second file would then go to your layout of choice and perform a Find using the script parameter.

Matthew,

A related record can be in any related table including tables in another file. It makes no difference as long as the external file references are proper. So GTTR works anyway.

RW.

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.