Skip 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.

Changing fields for multiple records with shared field data

Featured Replies

  • Newbies

I have a table of "teams" and there are two members to a team, each with their own record. If I change the status of one member on a team, I want that status change to occur in the other team member's record as well. Each record contains a team name field so I assume I am correct in making that the relational field since both team members have the same team name.

I've duplicated the teams table and created a relationship between the team names in both tables. My script changes status via SetField but it only changes the status of the current team member, not the other.

Edited by Guest

If I understand correctly, you'd want to do the following:

Have a table called Members and a table called Teams, each having a field called Team Name. Members and Teams would be related by Team Name (assuming you won't have duplicate team names).

The team's status field would be in the table Teams. On the Members layout, the Team Status field would be a related field. That way, when you change the related field on the Members layout, it's really changing the field in Teams, which reflects on all records in Members with the same Team name.

Hope that makes sense! Let me know if you need a sample file or something. Thanks :)

  • 2 weeks later...
  • Author
  • Newbies

That makes sense. What happens if I have multiple teams with the same name? They will at least have another field in their record to differentiate them (aside from having different team members, of course).

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.