Hi ,
I have used to valid if expression to avoid duplicates in the same column. which has created one more issue that it is allowing to create new entries but when the old entry form is edited and save button is hit, It does not allows to save it and displays valid if error . How to solve this ?
Valid if expression : NOT(IN([_THIS], SELECT(USER ROLE[USER ROLE],TRUE)))
Solved! Go to Solution.
This is the valid if for [num_col] which is a simple number column in Table T3.
I have three rows with 2, 3, 4 in their respective [num_col] to start with.
cannot create a new row with 2 in [num_col]
With 1 (no duplicates) , it works.
new row created.
I can edit it and save it
Result.
Somehow you have different conditions than I have.
FINALLY THIS WORKS FOR ME .
NOT(
IN([_THIS], SELECT(USER ROLE[USER ROLE],[_RowNumber]<>[_THISROW].[_RowNumber]))
)
BASED ON YOUR WORK @TeeSee1 .
1. TO EXCLUDE CURRENT COLUMN/CELL VALUES I HAVE REFERRED ROWNUMBER <> [THISROW].[ROWNUMBER] IN SELECT() FUNCTION.
THE EXPRESSION IS IN TESTING LET SEE HOW IT WORKS.
THIS IS COMPLETELY BECAUSE OF YOU @TeeSee1 . THANK YOU
User | Count |
---|---|
31 | |
11 | |
3 | |
2 | |
2 |