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.

Global field is not working how I expected

Featured Replies

Quick question:

I have a login system that sets a global field to the users name. Then as they navigate to the various related databases, they can look back to the login file and grab the name of the user from the global.

Odd thing, the global does not seem to be sticking. I would expect that a user will log on to the server, and as long as they have the FM files open, the global will reatain the name that was inserted. Odd thing is, that some users will log in, their name appears in the global. They go about working, but in a few hours all of a sudden the global for that user changes and shows someone elses name.

Should not the global retain the name the particular user inputs, and remain there until they quite Filemaker?

Larry

Yes, globals retain their value for the duration of the session. You should check if a script is changing it in some process.

Could it be that the file (containing the global field) is getting closed by accident and later reopened via a relationship? I think that would essentially clear your value and repopulate with whatever was in there when it was last closed in single user mode.

  • Author

Thanks for the 2 tips. I will look to see if this is the case.

LR

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.