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.

Accessing a Global Field in Another File.

Featured Replies

Is there an easy way to access a global field in another file?

I have tried various Relationship tricks but they are fragile.

For example, I have created a global in the current file, filled it with a value I know will exist in another file and set a relationship on the match. Unfortunately this can break down in a number of ways. If the global match field loses it value, or the external file has no records, or at a later date I change the external file so the it doesn't contain that value, the connection is lost.

Any ideas?

Instead of using global fields, use a calculation field ="1" (or some other simple value) in each file. Use this as the basis for your relationship. (Search this and other forums for discussions of "constant relationships") This still will not work for a file with no records, you'll need to make sure there is always at least one record in every file.

create in both databases a number field called "one". In the auto-enter options select "Data" and fill it with the value 1.

So every record on both databases has this field filled with the value one. Now You can create a relation with these fields as keys.

If you have already records, you have to fill the 1 with the replace.

For me, this field is a standard in every db, like the ID. It solves many problems, e.g to access globals through several db's

Gerd

  • Author

Thanks, both of you, Good Ideas!

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.