Jump to content

Constant Global ?


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

Recommended Posts

I need something like a constant global. The following takes place in a peer to peer setting. We run a script twice a year in which a global field’s value is updated. That value is then used in a calculation by several thousand records until the next update. The updating of the global field is the last step in the script. In order to insure that the value remains constant across the network and user sessions, after the script is run and when no one is on the network, I will re-enter the value on the host computer in single user mode, close and open the file. Resetting it manually is not a big deal but I was hoping there might be way thru a script to set a global value that would remain constant in a peer to peer setting across multiple user sessions.

Thanks

Link to comment
Share on other sites

Hi Hagy,

One thing you might consider is placing that value in a one-record preferences table. Then create a calculation set to global storage with only this field in it. Any time you change the value in the standard field, the global calculation will change. This global calculation can then be accessed from any table in your file without need of a relationship.

LaRetta

Link to comment
Share on other sites

This topic is 5703 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
 Share

×
×
  • Create New...

Important Information

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