Do you mean something outside of normal code that's specific to a
failure or not? What about this:

<cfset querySuccess = true>
<cftry>
    <cfquery...>
       blah blah
    <cfquery>
    <cfcatch...>
        <cfset querySuccess = false>
    <cfcatch>
</cftry>

<cfif querySuccess>
    // query succeeded, do this
<cfelse>
    // query failed, do that
</cfif>

//Code not reliant on query

Is that what you're talking about, or would a cfquery.RecordCount option
be acceptable?

- Jim

Phill B wrote:

> If a query doesn't fail, I want to make some thing else happen. What
> would be a good way to do this?
>
> --
> Phillip B.
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to