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.

beginner question on global fields

Featured Replies

Ok, the following seemed odd to me, but it may not be for you experienced users.

I just started sharing my first solution with two users using Filemaker Pro 9.0. It seems that I cannot change the date in one of my global fields when two people are logged in to the solution. Every time I change the date in this field, then the date would revert to the previous entry when I logged off and logged back in. This pattern held true even when I made sure the changed record was committed by switching to another record. I also made certain that the other user was not changing back this particular date.

Is this the way it is supposed to work? Or might the culprit be a corrupt file or poorly designed solution.

My goal is a field that stores the same thing across all records. I.e., my solution is structured such that I have a parent table of all my patients (i.e., each record is a different patient) and I have a related table of every time I have an encounter with a patient. The field in question is simply to store the last date that a ledger was submitted to my billing person as a reminder to myself.

Edited by Guest

Are you running FM Server 9? If you are:

Globals do behave differantly loacally than they do when hosted. When a file is hosted the defualt value for a global field is the value it had when it was hosted, every user can enter thier own value into the global field but when they close filemaker and reopen it, it does revert to the defualt value. In order to change the default value the file must be opened locally and changed, then rehosted.

If you are using peer-to-peer sharing I am unsure of the behavior of globals, I'm sure someone here can tell you what it is.(or at least point you to the right document, I found FM's help file on the subject lacking.)

  • Author

I'm using FM 9 Advanced (not the server version). I am sharing via peer-to-peer ("FileMaker Network" under my sharing options).

The best way would be I believe is to set up a table and hold all of your values there and then point your global fields to that table.

For example if you have a date that has to be same throughout your solution on all records and for all users you would probably use a global field however global fields do behave as described above so to avoid that problem you make a table like a constant table and then point your global field to the value in the table, like a preference table.

*** always ask for second opinion before taking my advice :)

  • 2 months later...
  • Author

Just now returning to this dilemma (sorry for the delay). So I tried pointing my global fields to a duplicate table via a script. The fields are not global in the duplicate table and it has only one record. However, the globals only come up blank. To add to my confusion, it worked the second time I ran this script and no time thereafter.

Any ideas or an example that I can look at?

Picture_1.png

  • Author

Ok, I just found the answer to this question in another thread...

http://www.fmforums.com/forum/showtopic.php?tid/192389/

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.