Hi,
I’m trying to set up an editable IF rule in all the columns of a table (is there any way to do this other then do it in all single columns?) and I’m using this syntax: [_THISROW].[column_with_inicial_value=USEREMAIL()]=USEREMAIL()
For some reason this works for edit constrains, but when some user have to add a new entry, the column where this rule is apllied to is missing…
What am I doing wrong…?
EDIT: I was reading about it and I think “are updates allowed?” in tables propertys panel is what I need, but I can´t figure out how I can setup this expression to only permit UPDATES if the useremail column of the row is equal to the useremail that is trying to UPDATE the row…
SWITCH(USEREMAIL(),
“user1@mydomain.com”, “UPDATES_ONLY”, (I need to change this static email expression to USEREMAIL()
“user2@mydomain.com”, “ALL_CHANGES”,
“READ_ONLY”)