Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted (edited)

Need Help :

I lose the value of the global variables when I quit FileMaker!!!

All global variables are prefixed with $$…

I try in FileMaker 8.0 and FileMaker 8.5 and the result is the same.

Why?

Tks

==================================

In FileMaker Help says:

"A global variable can be used in a calculation or script anywhere in a file, for example, other scripts or file paths. [color:red]The value of a global variable is not cleared until the file is closed. [color:blue]Prefix global variables with $$. "

Edited by Guest
Posted

lol

i close the file and quit the application,… daaaaaaaaa

Posted

the steps are:

1. Open File

2. Set variables ($$Global variables)

3. Close File or CloseFile and Application

--

4. Re-Open File

Error: GlobalVariables values are missing…

why?

Posted

Quote: The value of a global variable is not cleared until the file is closed

I know, but with me it's the opposite,… i dont understand,…

tks

Posted

File is closed = values are cleared

This is what it says, and this is what you reported.

Variables are not kept from session to session. If you need to restore default values, use regular fields in a Preference or User table.

Posted

Doesn't your quote in your post from the FM help section answer your own question? If you quit the App, it closes the file, which in turn clears the global variable.

The statement, "Prefix global variables with $$" does not mean that it will prevent the global vars from clearing, it is stating how you assign a global variable verses a single '$' which is for a local one. Maybe you are misinterpreting it?

If you have data that you want to store even after you log out, consider a preferences table where you can store data.

This topic is 6560 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.