Re: How to auto increment an id when a new item is added (calculated column)
Is the incrementing based also on the letter as well? In other words:
- A0001, A0002, A0003
- B0001, B0002, B0003
- C0001, C0002, C0003
If you just need the numbers to sequence in order and prefix it with A, B or C, use the internal ID column of the list, it will automatically increment when an item is added to the list. If you need it to increment how I listed above, that will be rather challenging, and I am not sure there is any easy way to accomplish this.
You can use the formatNumber expression to pad the ID with leading zeros.