The next line will notify you if a date already exists in my table when I press OK in my form
If(IsBlank(LookUp(Filter('kitchen.cycles',Active=true),Date=DataCardValue2_1.SelectedDate )),
SubmitForm(EditForm1_4),Notify("This date has already been entered, edit the Date or put the old one inactive",Error))
The rule works.
The disadvantage is only if I do not change the date and press OK that the message also comes that the date already exists.
How can I prevent this? So always the message if the date exists, but not if the date is the same as stated in the form.