Hi There,
I'm looking for a short form of coding which will check duplicate data in difference fields and restrict data duplication before submitting for save.
Such as in following image, in each FO and Team field there cannot be two Category="Approver" which will restrict the duplication and notify a message before saving the data. My Approvers data table if following ..
Such as: If I try to add a record, Name: Any Name, Category: Approver, Team: Finance, FO: CXB, it will restrict the data entry if it finds the name with same Category, Same Team and same FO.

That mean in each FO and each Team there will be one Approver but there can be same Name as Approver in Difference Team in different FO. such as

Now I have applied a formula but it seems it will be too much coding for this simple requirement.
*If(
!IsBlank(LookUp('ExitCL02-Approvers', DorpdownCategory.Selected.Value = "Approver" && Category.Value = "Approver" && Team.Value="ICT" && FO.Value="CXB" )),
Notify("There is already an Approver exist in " & DataCardValue12.Selected.Value & " Field Office")),
SubmitForm(Form1);ResetForm(Form1)
);
And so on and so on....
Not sure how to achieve that. Appreciate your help on this
Regards
Leo