Does anybody have a good function that generates a unique code for a primary key field?
Maybe generated from the current time and date?
I dont want people to be able to guess the number (or the way it works).
Using autonumber is no good, I need a key that will be hard to guess, for example:
current time/date in miliseconds - or something like that?
the code shouldn't be more than 11 digits long.