# ID's for lines

**URL:** https://community.glideapps.com/t/ids-for-lines/27534
**Category:** Ask for Help
**Created:** [June 2, 2021, 7:40pm UTC](https://community.glideapps.com/t/ids-for-lines/27534 "2021-06-02T19:40:45Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [June 3, 2021, 2:47am UTC](https://community.glideapps.com/t/ids-for-lines/27534/10 "2021-06-03T02:47:36Z")

</div>

> [@Auto Numbering](https://community.glideapps.com/t/auto-numbering/20355/12):
>
> Here is how I would do it: “Padding” is just a simple ITE… So putting all that together, 4 columns required: Rollup to determine the current max order ID Math column to increment that by 1 ITE column to determine how many zeros required for padding Template column to join 2 & 3

I’ve used this method in a few apps now. The only gotcha is that it is subject to a race condition if two or more users happen to be creating a new record at the same time. So definitely not recommended for high volume usage. But if records are added infrequently, then it works fine.

---

_[View the full topic](https://community.glideapps.com/t/ids-for-lines/27534)._
