# Unique ID Generation

**URL:** <https://forum.adalo.com/t/unique-id-generation/22013>\
**Category:** Get Help\
**Created:** [January 13, 2022, 10:13pm UTC](https://forum.adalo.com/t/unique-id-generation/22013 "2022-01-13T22:13:53Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [January 14, 2022, 4:27pm UTC](https://forum.adalo.com/t/unique-id-generation/22013/25 "2022-01-14T16:27:55Z")

</div>

It’s not a count, it is maximum.  
E.g. you have a collection with ID property, ID is numeric.  
You add a record and set ID to 999.  
You add another record and set ID to 1.  
When you use “Count”, you’ll get the value of 2.  
When you use “Maximum”, you’ll get the value of 999.

If every time you add a new record, you put ID as Collection → ID → Maximum +1, then you will always have a higher value in a new record.  
It works with all collections, not just Users.

There is a slim chance that 2 app users will add records to the collection _at the same time_. With this you may end with two similar IDs. But again, the chance is quite low.

I’d say that personally I’d go with unique ID generated based on 2 large random numbers 🙂

Best regards, Victor.

---

_[View the full topic](https://forum.adalo.com/t/unique-id-generation/22013)._
