The behavior of the add button can't evaluate the ref row

Hello, 
I have and app that mananges recyclables material
there is a table with the collector people, each collector can have many register and each register have associated a table with the list of material recollected.
There is alsto a status enum with two options "Pending" or "Paid" in each register.
i want to block de the add button if the status is "Paid" but i can't access to the register of the collector

tutanquemaker_0-1691428191143.png

tutanquemaker_1-1691428249165.png

I tried [captacionID].[estadoPago] = "Pendiente" but it doesn't evaluate it because the row has not been created

tutanquemaker_0-1691428881519.png

The behavior of the add button didn't get the collector ref row and can't evaluate it

i hope you can understand my problem, thanks.

0 3 80
3 REPLIES 3

You can't do it that way. You have to create a read-only slice on the child table, and dynamically display either the main table or the slice with opposing conditions.

For more info:
https://www.google.com/search?q=appsheet+community+prevent+child+add

 

Create a new Inline View and link it to a Read-Only slice of your table.

Top Labels in this Space