Jump to content

This topic is 7239 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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.

This topic is 7239 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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