Hello i wana ask how to prevent adding more than 6 duplicates Data in appshet?
Solved! Go to Solution.
Assuming you wish to prevent an entry of more than 6 identical values in a specific column called say [Column Name] of a table "Table Name", please try the following expression in the Valid_if setting of the column.
COUNT(
FILTER(
"Table Name",
([_THIS] = [Column Name])
)
- LIST([_THISROW])
)<=5
Please replace "Table Name" and [Column Name] with the actual names you have.
Please test well. Please be aware that such duplicate preventing expressions may fail in a multi user environment if multiple users are trying to add/ update simultaneously.
Yes, please take a look at the following help articles.
Control add, update, and delete operations - AppSheet Help
Security filters: The Essentials - AppSheet Help
Assuming you wish to prevent an entry of more than 6 identical values in a specific column called say [Column Name] of a table "Table Name", please try the following expression in the Valid_if setting of the column.
COUNT(
FILTER(
"Table Name",
([_THIS] = [Column Name])
)
- LIST([_THISROW])
)<=5
Please replace "Table Name" and [Column Name] with the actual names you have.
Please test well. Please be aware that such duplicate preventing expressions may fail in a multi user environment if multiple users are trying to add/ update simultaneously.
Thankyou so much for the big help
Sir I have another question. Its possible to have User role in viewing the apps like only this specific person can only add and edit in the apps?
Yes, please take a look at the following help articles.
Control add, update, and delete operations - AppSheet Help
Security filters: The Essentials - AppSheet Help
Sir what if i sending one or many person email in notification.
in may column in enumlist if i choose two person in this column the person will receive notification. What formula or expression should I use? Thankyou so much
User | Count |
---|---|
16 | |
11 | |
7 | |
2 | |
2 |