
Originally Posted by
CJ_London
I do hope your app is not multi-user - two users determining NextAppID at the same time will get the same result.
Agreed. That's why when I had to do this sort of thing the value got created when the form was saved (as long as user does not really need to know what it would be up front). If user does need to know but bails on the process at the end, then that number could be created but flagged somehow; e.g. archived - as long as consecutive values are not required. Often they are deemed to be required, but really aren't. Gaps in numbers play mind games with some people.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.