Proper way is to use Number Sequence. But if you don't want to use Number Sequence, you can place counter in Table and by getting max(CounterField)+1 you can set next number. There are risks, such as what if two users accessing the object/form at same time?
↧