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.

Featured Replies

Hi all,

I have 2 globals dates field , field_1 and field_2 are 2 globals date field,

I set field_1 = field_2 and field_1 changes as i use script setfield. I put field_1 in the header, but each time I open the file, the field_1 keep the old date, not the new date that I assign to field_2. Somebody have this problem before?

Thanks

Anh Tran

Not sure I got it....

The script must always be triggered. Not only once...

  • Author

yeah ugo,

the file is on the hard drive , it works fine ...but my file is on server ....it does not work fine smile.gif

I still don't know why ...

Thanks anyway

Anh Tran

  • Author

Anyways,

it still does not work ...so I use the trick is that I keep a temporary field and set it when closing and opening....it is not the good way but it works smile.gif

Thanks

Anh Tran

I think global fields are maintained separately for each user when sharing files on a server. Additionally, the values are only stored for that session, so once you log off and log back on, I think the value will change back to whatever value was last set when the file was being edited locally/unshared. Not sure I understand all the nuances here...

Do users need 'personalized' values for these dates or should the dates be consistent across the application?

Global fields are local to each user, they won't be saved in a server-hosted file. The file will always open with the value that was in the field when the file was copied to the server. Your options are:

1. Close down the server, open the file with FileMaker Pro and change the field.

2. Kick everyone else off the server so you're the only user, change the field, then bring up the Define Fields dialog and click OK. This has the same effect as above.

3. Script the population of the field.

4. Use a single-record "System Prefs" file where you can store all the values you want, and access them using a constant relationship (i.e. "1" on both sides of the relationship). This is a very popular method to employ "global" values that need to be updated and shared.

  • Author

Now I understand ....

I use the script to see the date change each time I log on.

Thanks All

Anh Tran

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.