Hello, I had a little problem with how I can ensure that we do not have the Name and year column having both the same value at the same time, because a person can evaluate himself once a year and not several timesand if by forgetting the person wants to evaluate himself for the second time during the year that the recording is not taken into account with error message.
After the ForAll you will need an If - check if the current value is already the same as the current year. If so, have it just be false so the Patch is not performed for that row. Otherwise, do the Patch.
A rough example (not exact, change it to make sense):
The above example will probably not work as given, it is for rough illustration only, you can check it and change it to make sense for you.
If you must show an error message, you can replace false above ion the If(year = Year(Now()),false,... with something like Notify or some formula that shows error message if the user should be advised what row(s) was/were not saved.
Thank you Sir for the answer, By the way the Current year can exist so many times but not at the same time the same name and the same year at the same to avoid an evaluation 2 times, because there can be several times the same yearto repeat and the name of the person too