Creating a unique number / ID in Omnis Studio
Alain Stouder Omnis
omnis at smartway.ch
Fri Nov 18 14:07:35 UTC 2022
You should check out sharding model or public version of global UUID generation.
Some multi hosts web services out there cannot wait on a central ID generator therefore they invented a distributed model to ensure every record has a unique id.
Learn something new every day !
> On 18 Nov 2022, at 14:39, Nick Renders <omnis1 at arcict.com> wrote:
> Hi List,
> I was wondering if anyone had any good tips when it comes to creating unique numbers or IDs in Omnis?
> For instance, to identify a specific row in a List variable whose number of lines is constantly changing (with $addbefore, $addafter, and $remove).
> I have been using #CT (number of ticks) but technology has caught up, and now there are situations with duplicate values because the calculations are done in the same 1/60th of a second.
> Any suggestions?
> Nick Renders
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en