I would like to create a sequential number to assign to each record as it’s created to be used as a Case#. I know enough not to use the Autonumber, as the numbers change at times such as database compaction.
I could create a one field table and store the number in it and update the table upon the creation of each new record — when a new record is created I would increment the Case# in the table and use it. But if there are multiple users, I’m concerned that the same number would be used more than once before it gets updated.
I suppose I could keep requerying the field in the table that all of the data is in to determine the next number, but as the table grows, it would seem that getting a new number would get slower and slower. And I still have the same concern about having multiple users being able to create the same Case#.
If anyone has dealt with these concerns, I’d like to hear from them. Basically, I want a unique case#, with no chance for multiple users to create the same number twice.
Thanks,
Randy