Jun 27, 2024 07:47 AM
Hi,
What I would like to do is simple :
When I update a record in table "Participations", I want to check if this record is the earliest (in term of date) record linked to a specific company. If it is, in single select field "Participation active?" select automatically value "active".
How would you do that? I have trouble adding the condition of selecting the record with the earliest date among records linked to the same company.
Thank you,
Have a nice day,
Arthur
Jul 25, 2024 09:55 AM
1. Add Fields in the "Participations" Table:
2. Create a Rollup Field in the "Companies" Table:
Earliest Participation Date: Create a rollup field in the "Companies" table that uses the MIN(values) function to find the earliest participation date from the linked records in the "Participations" table.
3. Lookup Field in the "Participations" Table:
Earliest Participation Date for Company: Create a lookup field in the "Participations" table that pulls in the Earliest Participation Date from the "Companies" table.
4. Formula Field in the "Participations" Table:
Is Earliest Participation: Create a formula field to check if the participation date matches the earliest participation date for the company.
5. Automation to Update "Participation active?" Field:
Set up an automation to update the Participation active? field based on the Is Earliest Participation field.