Macfreq Posted June 25, 2007 Posted June 25, 2007 I'm running FileMaker Server 8 and I have a global field that I need to make a permanent change to. Currently when I change the value on a client it stays set untile I close the client. When I open the data again the global variable is reset to the value before the database was shared with FileMaker Server. If I want to change the default value of the global variable I have to stop serving the database, open the database directly in FileMaker Pro, change the global variable, close FileMaker Pro, and server the database again. How do you make a permanent change in a global variable from a shared database? Thanks.
Vaughan Posted June 25, 2007 Posted June 25, 2007 Global fields aren't designed for storing persistent information between sessions. The best best is to create a preferences table and store the information in that. Use a startup script to load the default values into the globals when the file is first opened. As a workaround to solve your problem now, use a startup script to det the global, but hard-code the default value into the Set Field step instead of creating the preferences table.
Macfreq Posted June 25, 2007 Author Posted June 25, 2007 Thanks, I'll do the quick fix for now and implement the preferences table in a couple of weeks.
Recommended Posts
This topic is 6422 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 accountSign in
Already have an account? Sign in here.
Sign In Now