An error appears stating that the app settings cannot be updated because of duplicate values. How do I check which records contain duplicate values?
If you see the following error message when trying to update the app settings, it means there are records with duplicate values in the app.
To identify records with duplicate values, use the chart feature to aggregate the values.
Check which records contain duplicate values
Error solution
Stop making changes on the App settings screen and check for records with duplicate values.
By modifying the values of duplicate records or deleting the records, you can select the disallow duplicate values option for the field.
Check which records contain duplicate values
-
เปิดแอปของคุณ
-
คลิกไอคอน การตั้งค่าแอป (ไอคอนรูปฟันเฟือง) ที่ด้านขวาบนของหน้าจอ ดู
-
คลิกแท็บ กราฟ
-
คลิกไอคอน สร้าง กราฟ (ไอคอนรูปเครื่องหมายบวก) ที่ด้านขวาของหน้าจอ
-
Create a chart with the following settings.
- ชื่อ: ทางเลือก (ตัวอย่าง : การตรวจสอบข้อมูลซ้ำซ้อน)
- ประเภทแผนภูมิ: ตาราง
- จัดกลุ่มตาม (ระดับที่ 1) : เลือก ฟิลด์ที่จะห้ามไม่ให้มีการบันทึกซ้ำ
- ฟังก์ชัน: นับ (จำนวนบันทึก)
- ตัวกรอง: เร็คคอร์ดทั้งหมด
- จัดเรียงตาม: จำนวนรวม, เรียกจากมากไปน้อย
-
คลิก บันทึก ที่ด้านขวาล่างของหน้าจอ
-
บนหน้าจอ การตั้งค่าแอป คลิก อัปเดตแอป
-
ในกล่องโต้ตอบ อัปเดตแอป คลิก อัปเดตแอป
-
Display the chart you created.
Records showing a count of 2 or more indicate that duplicate values exist in these records.
Modify records
-
Click Show records to the right of the record with a count of 2 or more.
-
Modify the record so that it does not have duplicate values or delete the record.
-
Continue making corrections until there are no records with a count of 2 or more.
หากคุณยังไม่สามารถแก้ไขข้อผิดพลาดได้
If the error persists even though all records show a count of 1, consider the following possible causes:
Due to the Permissions for records settings, you cannot view records that contain duplicate values
Change the settings so that you have permission to view all records, and then check for duplicate records.
For more details on the Permissions for records settings, refer to the following page.
Configuring permissions for records
There are records with duplicate values on the app's preview screen
On the Preview screen, check for duplicate records.
For details on how to open the Preview screen, refer to the following page.
Opening an app's "Preview" screen