if the user exits the application then the global values are lost.
if IN the app, you can always assign the global when the user opens the app.
in module:
Public gvExchangeRate
when main menu opens
Code:
sub Form_load()
gvExchangeRate = Dlookup("ExchangeRate]","table")
end sub
but to hold it in PC memory after the app closes, youd need an environment variable like: Environ("Username")
or store in the Registry.
SaveSetting "MyApp", "ExchangeRate", "Rate", 75
then
getRegistrySetting = GetSetting("MyApp", "ExchangeRate", "Rate")