Dave Hobson wrote:
The script step increments the numeric part, but leaves out the non-numeric and leading zeroes.
The Set Next Serial Value script step sets the next value for the field to increment further; the step by itself does not increment anything.
The incrementing mechanism is described in the help for the SerialIncrement[() function. In your example, the last non-numeric character is the L in the PPL prefix; anything after that, including the leading zeros, will be used as the numeric string to increment.
Yes, sorry, I did realise that Set Next Serial Value only did the setting, not the incrementing.
But thanks very much for the pointer to SerialIncrement, which I now see will do the incrementing for me - much better.