Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

I inherited support for a database and a user deleted some data that I then restored from a backup.

Well, now I have a global field that has data immediatly when I open the database. I ran a design report and that field is not set until you run the script set for exiting the database.

Why does the global field now open with a default value?

Thanks

Todd

Posted

See if this FAQ helps.

http://faq.filemakermagazine.com/index.php/Global_fields

  • Newbies
Posted

Well it helped slightly with my understanding however this database is now hosted in a FM server so the session ends when they log off and the globals should reinitialize when they start again. For some reason the globals are not reinitializing.

Posted

I think you may be missing the point... It will display the value of the global field at the time that it was hosted. So if you went to a backup and lets say you opened it locally. With an opening script, it could have easily set a value to that global field. Then when you go to host it, it will have its last value.

It is important when having an opening script that sets global fields, to be careful when opening it locally since it will set default values which you may not want when being hosted.

  • Newbies
Posted

Ahh light bulb!

I see exactly what you are saying. I can write a script to empty the global when the database opens. That is what is suppose to be in the global in the first place.

Thanks.

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