June 25, 200718 yr 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.
June 25, 200718 yr 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.
June 25, 200718 yr Author Thanks, I'll do the quick fix for now and implement the preferences table in a couple of weeks.
Create an account or sign in to comment