How to check for duplicate usernames?

Admin admin at
Thu Aug 4 13:42:04 EDT 2011


And how do I do that? 


On Thu, 4 Aug 2011 09:53:44 -0600,
Jeff Massung wrote: 

> Instead of checking for a username, mark the
UserName field in the table as
> being UNIQUE. This will cause the DB to
error out of a transaction that
> attempts to insert the same UserName
into the table multiple times. Then
> catch that.
> Jeff M.
> use-livecode mailing
> use-livecode at [1]
> Please visit this url to
subscribe, unsubscribe and manage your subscription preferences:
> [2]


[1] mailto:use-livecode at

More information about the Use-livecode mailing list