macromedia.coldfusion.getting_started
[Top] [All Lists]

Re: unique id when form is submitted

Subject: Re: unique id when form is submitted
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Thu, 24 Jul 2008 03:28:40 -0700 (PDT)
Newsgroups: macromedia.coldfusion.getting_started

On Jul 24, 4:06 am, "Dan Bracuk" <webforumsu...@xxxxxxxxxxxxxx> wrote:
> You can use the CreateUUID function, do a query to make sure it's not already
> there, and then use it.
>
>  Or you can set up an autoincrement numeric field in access, change your
> cfinsert to a cfquery, and then select it after you insert the record.

AFAIK CreateUUID() is guaranteed to generate UNIQUE ID already, so you
do not have to check it...
Yes, I know that it is theoretically possible for it to be NOT unique
on two different computers, but on one computer it is ALWAYS going to
generate unique ID...

<Prev in Thread] Current Thread [Next in Thread>