# Help with CChex\_DeleteRecordInfo

**URL:** <https://community.anviz.com/t/help-with-cchex-deleterecordinfo/2736>\
**Category:** Development Tools\
**Tags:** time-attendance, facedeep5, sdk\
**Created:** [April 21, 2026, 1:09pm UTC](https://community.anviz.com/t/help-with-cchex-deleterecordinfo/2736 "2026-04-21T13:09:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrodrigues](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/mrodrigues/32/840_2.png) [@mrodrigues](https://community.anviz.com/u/mrodrigues)\
**Post date:** [April 21, 2026, 1:09pm UTC](https://community.anviz.com/t/help-with-cchex-deleterecordinfo/2736/1 "2026-04-21T13:09:37Z")

</div>

Hi all,

I am trying to get attendance records deleted from a Face Deep 5 device (firmware 03.80.D5-M-ARF-MI, kernel g68b5cdb\_W04, file system 01.80.04).

The problem is that I don’t know if what I’m doing is right or not while sending the CChex\_DeleteRecordInfo call to the FaceDeep5.

I already looked through the SDK manual but it doesn’t show anything related to that.

I am actually trying to delete a number of old records, so I tried this on C#:

```csharp
int delCount = 10;
CCHEX_DEL_RECORD_INFO_STRU delete_record;
if (delCount > 0)
{
    delete_record.del_type = 2;
    delete_record.del_count = Convert.ToUInt32(delCount);
}
else
{
    delete_record.del_type = 0;
    delete_record.del_count = 0;
}
int ret = AnvizLib.CChex_DeleteRecordInfo(_handle, _devIdx.Value, ref delete_record);

```

The returned result does not show any errors, and I also get a positive result from CChex\_Update, but no record is actually being deleted from the FaceDeep 5.

I can still see the attendance records on the device Web UI and also when calling CChex\_DownloadAllRecords / CChex\_TM\_DownloadAllRecords.

Am I missing something here?

I’d greatly appreciate any help in this regard.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![mrodrigues](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/mrodrigues/32/840_2.png) [@mrodrigues](https://community.anviz.com/u/mrodrigues)\
**Post date:** [April 27, 2026, 3:18pm UTC](https://community.anviz.com/t/help-with-cchex-deleterecordinfo/2736/2 "2026-04-27T15:18:46Z")

</div>

Hi @Technical_Anviz @Felix_Anviz @shannon.xiang

Sorry for tagging you, but I would really appreciate the help.

Thank you
