To pass variables to custom tags, just send them in as attributes: <cf_tag query="#myQueryName#">
You can refer to variables in the scope of the calling template from within custom tags using "caller.varName", but this makes the tag less modular. Just pass in your query, structure, string, whatever, as above, and refer to it inside the tag (following the above example) with: #attributes.query# HTH, - Gyrus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

