I have problem with check unique record but come back with error message.
Wonder if there is any work around.

I have problem with check unique record but come back with error message.
Wonder if there is any work around.
Hi @Anonymous ,
Could you please share more about your scenario? What is the design thought of your Apps?
As we can know from the error information, 'Cash_Date' is the unique column, and what you are patching is duplicate.
So I guess you want to know how to check it and prevent the error before the patch, right?
I recommend to set the button's Display Mode to prevent the error by checking if the value is duplicate, so set DisplayMode of button to If(Today() in Table2.Cash_Date, DisplayMode.Disabled,DisplayMode.Edit) .
If the value is unique, the button could be clicked, if the value is duplicate, the button would be disabled.
Best regards,
Sik