I guess I should restate my view in my last statement:
Actually, when I referred to DougP, I meant to refer to MichaelRed.
After a short e-mail to him, and requesting his view on the AutoNumber, with the Random setting for "New Values", he came up with the perfect response, and one I usually live by- "If it can go wrong -- It WILL go wrong". I agree, so his remarks ring all too true! Check out his "FAQ". He's got a great function that replaces Access's normal AutoNumber.
Though I'm very impressed with his function (and the great commenting that is usually overlooked), I have one sore point I need to bring up about it :-( - it does not matter too much if you don't care if the Date/Time portion of the ID is in cronological order though :-D , since he does have an incrementation based on the actual values.
If, you live in an area that uses DayLight Savings Time (as most areas in the United States do)... On the days that you set time back an hour, your cronological order would be lost during that ONE time in the year. I'm sure for most users this does not matter much, but if you're designing a db that can plausibly have multiple transactions at 2:AM (I think that's when the time gets set back), you can't rely on the crono. order of transactions for that time period.
As this is such a minute period of time, only once a year, I think most people can safely neglect this. However, if you work somewhere, where you have a 24 hour operation, be wary of it!
Always consider DST when designing a system that leaves no room for error on the Date/Time stamp of records (such as Audit Logs).
MoGryph
- "Don't mess with my crew-cut [8O)"