I would do <cfif add_check.recordcount> instead of <cfif
add_check.recordcount  GT 0> however the way you have should be
working unless maybe there is some other code you have not posted that
might apply to this.

You say it is failing, does it post an error or does it just always do the Else?

On Fri, 30 Jul 2004 16:10:37 -0400, daniel kessler <[EMAIL PROTECTED]> wrote:
> >Unless I'm missing something, this is needless complication. If the insert
> >fails, you'll get an error. If you don't get an error, the insert succeeded.
>
> hmm, I guess that's true.  Still, I'd like to know why the IF fails.  I sometimes need to do a GT 0 to see if there're duplicates and it'll fail then too.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to