>FUNCTION GetUniqueID()
> inkey(0.001)
> return sys(2015)
>ENDFUNC
>
>or alternatively use Declare Sleep etc etc
>
>Peter Easson, Sydney
SYS(2015) is infact unique regardless of how many times per second you want it - SYS(3) used to have the problem that you are thinking of. Not that any of this actually helps when thinking about PK values in a multi-user system :)Cheers,
Jamie