limit the number of the childs: 1 to 1 relati...

limit the number of the childs: 1 to 1 relationship: (1 parent only can have 1 child)

how hide the “new” button in a parent record with child column (isparteof = true)?

or using other method, using linktoform and hide the button when number of child > 0

0 4 426
4 REPLIES 4

Do you need to have it in the form or detail view?

@Aleksi_Alkio

I got this behavior in the detail view, reading your comments here in the forum about using inline views + slices to have a slice with ADD and another slice READ ONLY … how to do that inside a form, since you commented !

When you have used Show_Ifs for both virtual lists, it should do that in the same way in the form view automatically. If you need to limit the child record to one record, you should use COUNT expression. For example COUNT([VirtualRefRowsColumn])<1.

thanks very much @Aleksi_Alkio

Top Labels in this Space