I am trying to solve an issue of duplicate key in the table where data is recorded from forms with multiple users: Thanks to the help of this community, I have created a virtualcolumn with intial value DateTime NOW() & [username] which for me makes my key unique. It should be impossible for a user to open twice the same form at the same time.
But it is the case; Today I had a duplicate key โ08/22/201912:07:11Johnโ. How that can be ??
Thanks for your help.
You canโt use NOW() with the key column if itโs with virtual column. It will change the DataTIme value everytime when you sync the app. You should use normal column instead.
OK, Changed. But is this going to solve my problem of duplicates with this key (knowing that UNIQUEID() was causing me problem of duplicates as well ?
When you have this UNIQUEID() with an initial value and then use it with a key column, you wonโt have duplicate records.
User | Count |
---|---|
39 | |
25 | |
22 | |
20 | |
15 |