Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6158 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted (edited)

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
Posted

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...
  • Newbies
Posted

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

This topic is 6158 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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