VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

UniqueID Function

John W. Lowther, Jr.  (1 Submission)   Miscellaneous   Visual Basic 3.0   Advanced   Wed 3rd February 2021

One-Liner to generate a unique Id. Does NOT require a database. No autonumber fields needed.

Assumes
Assumes the system clock is never reset to a previous time. Could generate duplicate's if the system clock is reset to a prevoius time, but not likely due to the precision of the function.

Returns
UniqueID based on the System Clock

Rate UniqueID Function (4(4 Vote))
UniqueID Function.bas

UniqueID Function Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters