I'm done on a problem! I'm trying to disable...

Iโ€™m done on a problem!

Iโ€™m trying to disable the possibility to ADD a record in a child table if the useremail() isnโ€™t the useremail of the creator of the parent.

For the EDIT itโ€™s working. Any clue?

IN(useremail(),SELECT(Report[Useremail], [Report nb]=[_THISROW].[Report nb])

Thanks in advance

0 5 358
5 REPLIES 5

Can you provide more details? Where have you entered that formula? Which table is child table, and which one is parent table?

โ€œReport Noโ€ is parent, child is โ€œActionโ€ Thanks

Try it like USEREMAIL()=[Report nb].[Useremail]

@Aleksi_Alkio Can I get the parent value to see if itโ€™s in READ_ONLY or ADDS_UPDATES mode. It could be easier.

@Aleksi_Alkio I tried your line, the test in the โ€œexpression assistantโ€ are good, but the button โ€œNewโ€ doesnโ€™t appear. The table allows ADDS and UPDATES.

Top Labels in this Space