How to check for duplicate usernames?

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


  

And how do I do that? 

Mike 

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
list
> use-livecode at lists.runrev.com [1]
> Please visit this url to
subscribe, unsubscribe and manage your subscription preferences:
>
http://lists.runrev.com/mailman/listinfo/use-livecode [2]

 


Links:
------
[1] mailto:use-livecode at lists.runrev.com
[2]
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list