Hey guys! I am testing an app using SQL Serve...

Hey guys! I am testing an app using SQL Server. So, I have a ‘SQL Trigger before insert’ wich calls a SQL function that check a digit calculator. If it is true my input has been saved. If false do not. The app has worked fine, validating the field with digit, before I click on save button, what is a surprise for me. But, sometimes, my digit calculator is right and the validation do not permits the input.

Is there anyway only call trigger when I click on save button? I think the validation field is not working.

0 2 309
2 REPLIES 2

Do you have anything in the Valid_if property of that CPF column in your app? If yes, you can remove it, then AppSheet app will allow any values and you will only rely on the SQL trigger on the server side.

Sorry @RezaRaoofi, I forgot the Valid_if property. Thank you!

Top Labels in this Space