Yes, all variables that are declared by a parent "including" template should be exposed for use by included templates.

Perhaps the code which created your query is within a conditional statement?
Perhaps your query variable is lovingly nestled inside another scope (like request. or application.)?
Perhaps your query is an empty result set? Does it have a .recordCount ?

When in doubt, dump it out... (™ Jason)

Al

On 6/5/2012 2:10 PM, Jason Allen wrote:
(snip)
Do CFQUERY variables pass to included documents?


--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

Reply via email to