Turn on your debugging and look to see if the query shows up in your list of
run queries.  That will give you a better starting point from which to
figure out what's really going on.

I'm guessing that the ID isn't really getting passed, or it's some weird ID
that doesn't satisfy the <if> statement.  The other possibility is that
there is some combination of conditions in the <if> statement that will
cause neither query to be run.

Have you tried outputting the hidden field to see what's really in it?

Todd

----- Original Message -----
From: "Bud" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 9:02 AM
Subject: How do these things happen?


> Man. I come across stuff like this and it simply makes me dizzy
> trying to figure out what is wrong.
>
> While looking at my errors log, I find a bunch of these:
>
> The QUERY attribute of the tag does not specify the name of an
> available query<p>The error occurred while processing an element with
> a general identifier of (CFOUTPUT), occupying document position
> (50:6) to (50:43) in the template file
> F:\USERS\LATIN-LOVECONNECTION\HTDOCS\SEARCH\DETAILS.CFM.
>
> OK, so at that document position is a cfoutput tag with a query of
> itemsLong. Above that are 2 queries called itemsLong, the one that
> runs depending upon the category ID that's passed. The referer that's
> specified in the rror is correct, so they're not just going there
> without clicking the form button, which will pass the hidden
> category_id field. Whenever I go to the page, itemsLong is run.
>
> Stuff like this makes me nuts. There is absolutely no rhyme nor
> reason for it other than CF deciding "well, I just won't run the
> block of code with the query in it".
> --
>
> Bud Schneehagen - Tropical Web Creations
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> ColdFusion Solutions / eCommerce Development
> [EMAIL PROTECTED]
> http://www.twcreations.com/
> 954.721.3452
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to