Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Global Field Problem

Featured Replies

  • Newbies

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

See if this FAQ helps.

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

  • Author
  • Newbies

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.

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.

  • Author
  • Newbies

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.