EdwinAndrangoG
8th February 2023, 23:18
Hello, I would like to make an auto incremental string field in LN Studio every time insert new record like:
code
| cod-000001 |
| cod-000002 |
| cod-000003 |
please help.
mark_h
9th February 2023, 15:41
Well I am sure there is a better way in LN, but it 4c4 when I hit the insert button on one session I would find max sequence, add + 1, perform an application log on the new max sequence, if someone else had it locked, then add another 1, try to lock again. Once locked insert the record, delete the lock. All I remember is the process - not even sure where to look on the system.
Sure there is something better in LN.
OmeLuuk
13th February 2023, 13:24
Of course there are several (multiple) sessions that use something similar from the First Free Number tables, there different standard DLLs exist as well: see ttstpbaandoc on tcmcsdll0050 and tcmcsdll0051.
srkndnsn
30th March 2023, 10:04
Hello, I would like to make an auto incremental string field in LN Studio every time insert new record like:
code
| cod-000001 |
| cod-000002 |
| cod-000003 |
please help.
Hi Edwin,
Have you found any solution for string increment? I am also looking for this :)
Best regards,