<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a Query from an Excel file</title>
	<atom:link href="http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/</link>
	<description>Rich Internet solutions utilizing Flex, ActionScript, JavaScript, Dojo, Objective-C, and the iPhone</description>
	<lastBuildDate>Tue, 31 Aug 2010 04:18:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Paul</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-178</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 12 Sep 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-178</guid>
		<description>Ideally you would add some code to tidy things up as you leave; particularly if there are errors with the Excel file or permissions issues, you need to close things up or reset the service to regain access to the .xls file.  Inserting these lines just above the catch{} block seems to do the trick.

rs.close();
c.close();</description>
		<content:encoded><![CDATA[<p>Ideally you would add some code to tidy things up as you leave; particularly if there are errors with the Excel file or permissions issues, you need to close things up or reset the service to regain access to the .xls file.  Inserting these lines just above the catch{} block seems to do the trick.</p>
<p>rs.close();<br />
c.close();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Balchand</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-176</link>
		<dc:creator>Ryan Balchand</dc:creator>
		<pubDate>Thu, 11 Sep 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-176</guid>
		<description>This works great for me except for one minor issue. Importing cells with integers return [empty string]. Any ideas?

Example: 
COLA     COLB
name     ryan (import)
date     09/11/08 (import)
quantity 3 (empty)</description>
		<content:encoded><![CDATA[<p>This works great for me except for one minor issue. Importing cells with integers return [empty string]. Any ideas?</p>
<p>Example:<br />
COLA     COLB<br />
name     ryan (import)<br />
date     09/11/08 (import)<br />
quantity 3 (empty)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-194</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Wed, 18 Jun 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-194</guid>
		<description>Hi,

This looks good but I&#039;ve amateurish request, could I see how you actually impliment this?  How do you actually query the inoformation and get it to display on your page?  This code would be extremely helpful. 

Thank You,
Jack</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This looks good but I&#8217;ve amateurish request, could I see how you actually impliment this?  How do you actually query the inoformation and get it to display on your page?  This code would be extremely helpful. </p>
<p>Thank You,<br />
Jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hayes</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-195</link>
		<dc:creator>Kyle Hayes</dc:creator>
		<pubDate>Wed, 18 Jun 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-195</guid>
		<description>@Jack, you can just simply run a &lt;cfdump var=&quot;#query#&quot; /&gt; to see the contents.

Otherwise, you can do &lt;cftable query=&quot;#query#&quot; /&gt; to see a nicer display.</description>
		<content:encoded><![CDATA[<p>@Jack, you can just simply run a &lt;cfdump var=&quot;#query#&quot; /&gt; to see the contents.</p>
<p>Otherwise, you can do &lt;cftable query=&quot;#query#&quot; /&gt; to see a nicer display.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-196</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 30 Apr 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-196</guid>
		<description>has anyone found a way to allow this code to read multiple excel spreadsheets?  i need it to pull out values from two excel files, but can&#039;t figure out a way to read more than one file at a time.
any help would be EXTREMELY appreciated.</description>
		<content:encoded><![CDATA[<p>has anyone found a way to allow this code to read multiple excel spreadsheets?  i need it to pull out values from two excel files, but can&#8217;t figure out a way to read more than one file at a time.<br />
any help would be EXTREMELY appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hayes</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-197</link>
		<dc:creator>Kyle Hayes</dc:creator>
		<pubDate>Wed, 30 Apr 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-197</guid>
		<description>Why couldn&#039;t you just loop through the two files?</description>
		<content:encoded><![CDATA[<p>Why couldn&#8217;t you just loop through the two files?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hayes</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-198</link>
		<dc:creator>Kyle Hayes</dc:creator>
		<pubDate>Wed, 30 Apr 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-198</guid>
		<description>It all depends how you have your two files available to you, I will assume their file references are in an array:

&lt;cfset queryArr = arrayNew(1) /&gt; &lt;!--- Array to store returned queries ---&gt;

&lt;cfloop from=&quot;1&quot; to=&quot;#arrayLen(myFileArr)#&quot; index=&quot;i&quot;&gt;
  &lt;cfset arrayAppend(queryArr, getExcelSheet(myFileArr[i], &#039;sheet1&#039;)) /&gt;
&lt;/cfloop&gt;

Obviously you have to customize that code based on how are you are storing your multiple file references, but that is the gist.</description>
		<content:encoded><![CDATA[<p>It all depends how you have your two files available to you, I will assume their file references are in an array:</p>
<p>&lt;cfset queryArr = arrayNew(1) /&gt; &lt;!&#8212; Array to store returned queries &#8212;&gt;</p>
<p>&lt;cfloop from=&quot;1&quot; to=&quot;#arrayLen(myFileArr)#&quot; index=&quot;i&quot;&gt;<br />
  &lt;cfset arrayAppend(queryArr, getExcelSheet(myFileArr[i], &#8216;sheet1&#8242;)) /&gt;<br />
&lt;/cfloop&gt;</p>
<p>Obviously you have to customize that code based on how are you are storing your multiple file references, but that is the gist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-172</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 02 Apr 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-172</guid>
		<description>Kyle,
Thank you for putting this up.  It has saved me weeks of work  and heartache.  I really appreciate this.
Don</description>
		<content:encoded><![CDATA[<p>Kyle,<br />
Thank you for putting this up.  It has saved me weeks of work  and heartache.  I really appreciate this.<br />
Don</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-188</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 06 Mar 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-188</guid>
		<description>Code works great.  I am also in need of code to pull a list of availble sheet names.  How would I go about gathering the Metadata?</description>
		<content:encoded><![CDATA[<p>Code works great.  I am also in need of code to pull a list of availble sheet names.  How would I go about gathering the Metadata?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hayes</title>
		<link>http://www.kylehayes.info/2006/10/12/Creating-a-Query-from-an-Excel-file/comment-page-1/#comment-189</link>
		<dc:creator>Kyle Hayes</dc:creator>
		<pubDate>Thu, 06 Mar 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kylehayes.info/blog/index.cfm/2006/10/12/Creating-a-Query-from-an-Excel-file#comment-189</guid>
		<description>@Mark - This is a common question. Because of this, I have started to work on a solution. Stay posted, I hope to have a draft of a new ExcelFile CFC today.</description>
		<content:encoded><![CDATA[<p>@Mark &#8211; This is a common question. Because of this, I have started to work on a solution. Stay posted, I hope to have a draft of a new ExcelFile CFC today.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
