<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>ColdFusion Muse - Using Coldfusion Tags</title>
			<link>https://coldfusionmuse.com/index.cfm</link>
			<description>Musings and Other Things from CF Guru Mark Kruger</description>
			<language>en-us</language>
			<pubDate>Mon, 08 Jun 2026 22:02:50 -0500</pubDate>
			<lastBuildDate>Thu, 26 May 2005 11:47:00 -0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>mkruger@cfwebtools.com</managingEditor>
			<webMaster>mkruger@cfwebtools.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>mkruger@cfwebtools.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>ColdFusion Muse</title>
				<link>https://coldfusionmuse.com/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>Cool query function tip using array syntax.</title>
				<link>https://coldfusionmuse.com/index.cfm/2005/5/26/queryAsArray</link>
				<description>
				
				&lt;p&gt;
	I often pull in a full data set then use query of a query to pull subsets of data from it. The purpose is to minimize the number of hits to the database server (which is usually the cheif bottleneck of any application).  This works pretty well, but today I stumbled on a tip that can really save some effort and reduce the sheer number of lines of code. It has to do with using aggregate functions to derive other values from the data. For example, if I have a large query that is being output in a row and I want totals at the bottom I usually run a query like this:
&lt;/p&gt;  [More]
				</description>
				
				<category>Coldfusion MX 7</category>				
				
				<category>Coldfusion Tips and Techniques</category>				
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Thu, 26 May 2005 11:47:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm/2005/5/26/queryAsArray</guid>
				
				
			</item>
			
			<item>
				<title>Report Builder Limitations and CFR files</title>
				<link>https://coldfusionmuse.com/index.cfm/2005/5/16/reportCfr</link>
				<description>
				
				&lt;p&gt;We are all aware that the report builder application is a template generation tool. It&apos;s quite useful with a number of nifty features.  One of the cool things about it is that you can define a report template using &lt;strong&gt;&lt;em&gt;dummy data&lt;/em&gt;&lt;/strong&gt; that can be replaced at run time.  This allows you to run and test the display attributes and charts of your report using something simple like CFQUERYNEW( ) which you then replace with the actual query by passing it into the CFREPORT tag.  
&lt;/p&gt;
&lt;p&gt;
What I was hoping for however, was a template that produced a file format that we could unpack and examine. Our goal would not be to become report writers for our clients (isn&apos;t that really a content editors job?).    Our goal is to produce tools where they can mine and access the data themselves. I would love to be able to allow a web based user to generate their own reports from a wizard. Indeed we have a system very much like this for Ms SQL that makes use of the various stored procs for data type introspection and allows a user to build 1 or more queries to use in a report.&lt;/p&gt;

&lt;p&gt;The biggest flaw in our system is the rather limited template system we have.  I was hoping to be able to replace &quot;front-end&quot; template with an auto-generated CFR file. However, Macromedia in a disappointing move, has chosen to encrypt the CFR files. effectively making them useless except as a limited time-saver for developers faced with handling report content. I suppose a DBA or Access programmer could pretty easily get up to speed on the report builder.  But as far as I can see there is no way to make use of this file format programmatically.&lt;/p&gt; 
				</description>
				
				<category>Coldfusion MX 7</category>				
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Mon, 16 May 2005 14:44:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm/2005/5/16/reportCfr</guid>
				
				
			</item>
			
			<item>
				<title>Adding an image to a CFGRID</title>
				<link>https://coldfusionmuse.com/index.cfm/2005/5/11/flashGridImg</link>
				<description>
				
				&lt;p&gt;Silly me, I assumeed you couldn&apos;t insert images into a flash CFGRID. I stumbed across this example on an excellent blog by &lt;a href=&quot;http://www.asfusion.com/blog/&quot;&gt;As Fusion&lt;/a&gt; (laura Arguello and Nahuel Foronda).  Apparently you can insert thumbnails right into the grid using an HTML element. That&apos;s a new one on me. The trick is to bind a column in the grid to a CfFormItem. As always, someone will always find a way.
&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;&lt;FONT COLOR=MAROON&gt;&amp;lt;cfform name=&lt;FONT COLOR=BLUE&gt;&quot;myform&quot;&lt;/FONT&gt; format=&lt;FONT COLOR=BLUE&gt;&quot;Flash&quot;&lt;/FONT&gt; height=&lt;FONT COLOR=BLUE&gt;&quot;450&quot;&lt;/FONT&gt; width=&lt;FONT COLOR=BLUE&gt;&quot;600&quot;&lt;/FONT&gt; &amp;gt;&lt;/FONT&gt;&lt;br&gt;
 &lt;FONT COLOR=MAROON&gt;&amp;lt;cfgrid name= &lt;FONT COLOR=BLUE&gt;&quot;grid&quot;&lt;/FONT&gt; query=&lt;FONT COLOR=BLUE&gt;&quot;properties&quot;&lt;/FONT&gt; height=&lt;FONT COLOR=BLUE&gt;&quot;200&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;                                       &lt;br&gt;
 &lt;FONT COLOR=MAROON&gt;&amp;lt;cfgridcolumn name=&lt;FONT COLOR=BLUE&gt;&quot;city&quot;&lt;/FONT&gt; header=&lt;FONT COLOR=BLUE&gt;&quot;City&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;br&gt;
     &lt;FONT COLOR=MAROON&gt;&amp;lt;cfgridcolumn name=&lt;FONT COLOR=BLUE&gt;&quot;photo&quot;&lt;/FONT&gt; header=&lt;FONT COLOR=BLUE&gt;&quot;Photo&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;&lt;br&gt;
  &lt;FONT COLOR=MAROON&gt;&amp;lt;/cfgrid&amp;gt;&lt;/FONT&gt;&lt;br&gt;
   &lt;FONT COLOR=GRAY&gt;&lt;I&gt;&amp;lt;!--- show the picture in an html cfforitem&lt;br&gt;
       paragraph is added because Firefox sometimes fail to load the picture ---&amp;gt;&lt;/I&gt;&lt;/FONT&gt;                  &lt;br&gt;
   &lt;FONT COLOR=MAROON&gt;&amp;lt;cfformitem type=&lt;FONT COLOR=BLUE&gt;&quot;html&quot;&lt;/FONT&gt; height=&lt;FONT COLOR=BLUE&gt;&quot;200&quot;&lt;/FONT&gt; width=&lt;FONT COLOR=BLUE&gt;&quot;300&quot;&lt;/FONT&gt; &lt;br&gt;
            bind=&lt;FONT COLOR=BLUE&gt;&quot;{&apos;&lt;FONT COLOR=NAVY&gt;&amp;lt;p&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT COLOR=NAVY&gt;&lt;FONT COLOR=PURPLE&gt;&amp;lt;img src=\&apos;images/&apos;+grid.selectedItem.photo+ &apos;\&apos;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT COLOR=NAVY&gt;&amp;lt;/p&amp;gt;&lt;/FONT&gt;&apos;}&quot;&lt;/FONT&gt;&amp;gt;&lt;FONT COLOR=MAROON&gt;&amp;lt;/cfformitem&amp;gt;&lt;/FONT&gt;&lt;br&gt;
&lt;FONT COLOR=MAROON&gt;&amp;lt;/cfform&amp;gt;&lt;/FONT&gt;&lt;/div&gt; 
				</description>
				
				<category>CFMX 7 Flash Forms</category>				
				
				<category>Coldfusion MX 7</category>				
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Wed, 11 May 2005 13:56:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm/2005/5/11/flashGridImg</guid>
				
				
			</item>
			
			<item>
				<title>Getting a reference to a flash form in Javascript</title>
				<link>https://coldfusionmuse.com/index.cfm/2005/5/10/flasformJS</link>
				<description>
				
				&lt;p&gt;It&apos;s trying not to have adequate access to the client side movie produced by a flash form.  For example, I Have a large number of panels in an accordian pane and I want to hide or unhide them based on user preferences. I also want to resize the form movie as the panels are &quot;hidden&quot; to make better use of the visible area of the screen.  I wanted to be able to change the &quot;height&quot; and &quot;width&quot; parameters of the movie.&lt;/p&gt;
&lt;p&gt;The problem is, that while the &quot;NOSCRIPT&quot; block has an ID parameter to it, the &quot;document.write&quot; block that outputs the object tag does &lt;em&gt;not have&lt;/em&gt; and ID parameter attached to it (in spite of my putting ID=&quot;blah&quot; in the CFFORM tag).  That seems like a bug. Anyway, I went about trying to find another way to access the properties of the embeded movie.  I came up with the following:
&lt;/p&gt;  [More]
				</description>
				
				<category>CFMX 7 Flash Forms</category>				
				
				<category>Coldfusion MX 7</category>				
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Tue, 10 May 2005 16:23:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm/2005/5/10/flasformJS</guid>
				
				
			</item>
			
			<item>
				<title>Flash Form Debugging</title>
				<link>https://coldfusionmuse.com/index.cfm/2005/5/10/flashformdebugging</link>
				<description>
				
				&lt;p&gt;While I&apos;m enjoying the power and especially the &quot;look and feel&quot; of the new flash forms interface I&apos;m are a little frustrated with the lack of good debugging information. It would be nice if additional information could be ported into the Coldfusion debugging info at the bottom - or a perhaps a log file could be written.  It&apos;s very hard to know what&apos;s going on. When a flash form is long it takes a while to compile anyway. Because I don&apos;t know how long it &lt;em&gt;should&lt;/em&gt; take I end up sitting on my hands waiting for the little &quot;initializing&quot; to appear. If it doesn&apos;t I assume something has gone wrong internally and start looking at the code. That&apos;s not exactly slam dunk debugging.&lt;/p&gt; 
				</description>
				
				<category>CFMX 7 Flash Forms</category>				
				
				<category>Coldfusion MX 7</category>				
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Tue, 10 May 2005 10:10:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm/2005/5/10/flashformdebugging</guid>
				
				
			</item>
			
			<item>
				<title>&amp;lt;CFLOCK&amp;gt; and Synchronizing Data</title>
				<link>https://coldfusionmuse.com/index.cfm/2005/5/9/cflockSynch</link>
				<description>
				
				&lt;p&gt;Locking among CF developers arouses the same sort of Ire as the Linux Vs. MS debate. There are CF developers who believe that locking is unnecessary in &lt;em&gt;most&lt;/em&gt; cases and locking everything is an unnecessary waste of time and effort. There are others who believe that everything should be locked without regard to any examination of the data or its significance. Both camps have salient points and I do not fault either of them for their viewpoint.  In our case we err on the side of caution. We lock every write for the session and application scope and we lock &quot;most&quot; reads of the session scope. That&apos;s our standard and I only mention it to get it out of the way. I 
do not intend write an apology on wether you &lt;em&gt;should&lt;/em&gt; lock or not. Instead, I think we should examine how locking syntax varies and how it used appropriately (or inappropriately). &lt;/p&gt;  [More]
				</description>
				
				<category>Coldfusion Optimization</category>				
				
				<category>Coldfusion Tips and Techniques</category>				
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Mon, 09 May 2005 12:27:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm/2005/5/9/cflockSynch</guid>
				
				
			</item>
			
			<item>
				<title>Using CFINCLUDE</title>
				<link>https://coldfusionmuse.com/index.cfm?mode=entry&amp;entry=8E676EBA-A0EF-5BB2-1461BEA3C00CC076</link>
				<description>
				
				&lt;p&gt;
	Did you ever get frustrated with the &lt;span class=&quot;redBox&quot;&gt;&amp;lt;cfinclude&amp;gt;&lt;/span&gt; tag? If you started out in HTML you probably have.  Why is it that 
	you can put an image in a directory and put a cfm file in the same directory, but not have them work the same?  You can 
	call &lt;span class=&quot;flashBox&quot;&gt;&amp;lt;img src=&quot;images/blah.jpg&quot;&amp;gt;&lt;/span&gt; and it seems to work just fine, but when you try to do 
	&lt;span class=&quot;redBox&quot;&gt;&amp;lt;cfinclude template=&quot;&lt;span class=&quot;flashBox&quot;&gt;images/blah.cfm&lt;/span&gt;&quot;&amp;gt;&lt;/span&gt; it doesn&apos;t work? Aren&apos;t the 
	2 items in the same path? Nope, and here&apos;s why.
&lt;/p&gt;  [More]
				</description>
				
				<category>Using Coldfusion Tags</category>				
				
				<pubDate>Sun, 20 Feb 2005 11:37:00 -0500</pubDate>
				<guid>https://coldfusionmuse.com/index.cfm?mode=entry&amp;entry=8E676EBA-A0EF-5BB2-1461BEA3C00CC076</guid>
				
				
			</item>
			</channel></rss>