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.

Auto Enter Global Field Relationship

Featured Replies

I have a portal that shows records based on a global field - all works well... except when you first open filemaker. I need to create a new record before the global field is populated. Once the new record is created all the related records show as expected.

So none of the related records show in the portal until after I have created a new record. Then all the expected records show.

Any suggestions?

I need to create a new record before the global field is populated.

Something is missing from your description. A global field CAN be populated with no records in the table. OTOH, creating a new record by itself will not populate a global field.

When the file is first opened, what is the value in the global field? What is in the field after the new record is created?

  • Author

The value is empty when the file is first opened, then once a new record is created the value "TASK" is auto entered correctly, then everything works fine from that point.

So the specific questions is how to keep the value of "TASK" in the field even before a new record is created? The value never needs to change, I would like it to always exist without needing to create a new record for it to be "auto entered"

Thanks

Don

The value is empty when the file is first opened, then once a new record is created the value "TASK" is auto entered correctly, then everything works fine from that point.

So the specific questions is how to keep the value of "TASK" in the field even before a new record is created? The value never needs to change, I would like it to always exist without needing to create a new record for it to be "auto entered"

Thanks

Don

Why not make the field a calc. with "TASK" and set as global?

:unsure:

So the specific questions is how to keep the value of "TASK" in the field even before a new record is created?

One way would be to set the global field at the opening of the file, using a startup script. Another way would be to create a record once and not delete it. I am somewhat confused regarding the circumstances here: what is the table in which the global field is defined - and why doesn't it have any records when you open the file?

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.