How to Generate Multiple ID Sequence for Internal Database
Greetings everyone,
I need to make an auto increment PK in property value so that whenever (a)multiple data is save, the value of property of the PK is incrementally change increase by 1.
(Ex: there are 5 input data, the last index of data is 46. The result will be: 47,48,49,50,51)
I've already read many post about generate ID, but please kindly tell me if there were any method that can be used efficiently/effectively.
Oh! By the way, I make a declare expression to ensure the value of the maximum index of ( PageList of PK property + 1 ) also set it to whenever is used and the result as expected. It only works properly with 1 data. If multiple data was invoked then it will be Status Fail when in Obj-Save step method.
Best Regards,
Jimmy