 




<?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: How can I use a variable in my macro to import data from as-400 to excel?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-use-a-variable-in-my-macro-to-import-data-from-as-400-to-excel/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-use-a-variable-in-my-macro-to-import-data-from-as-400-to-excel/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 19:50:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: yves695</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-use-a-variable-in-my-macro-to-import-data-from-as-400-to-excel/#comment-71851</link>
		<dc:creator>yves695</dc:creator>
		<pubDate>Tue, 22 Dec 2009 13:50:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-71851</guid>
		<description><![CDATA[Actually you are right.  I was including the variable inside the quotation marks of the string.  I corrected it using concatanation resulting in following :

 &quot;WHERE (ORDDET01.CUSN=&quot; &amp; var &amp;&quot;).....

This works beautiful.]]></description>
		<content:encoded><![CDATA[<p>Actually you are right.  I was including the variable inside the quotation marks of the string.  I corrected it using concatanation resulting in following :</p>
<p> &#8220;WHERE (ORDDET01.CUSN=&#8221; &amp; var &amp;&#8221;)&#8230;..</p>
<p>This works beautiful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-use-a-variable-in-my-macro-to-import-data-from-as-400-to-excel/#comment-71843</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 22 Dec 2009 07:03:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-71843</guid>
		<description><![CDATA[Are you including the quotes around the variable value in the final SELECT string?

That&#039;s simply a first guess because you don&#039;t tell us anything about what error you actually get. For all we know, the error has nothing to do with how you&#039;re inserting the value. Also, you don&#039;t show us the SELECT string that results from inserting your variable value -- we can&#039;t tell if the SELECT statement is even correct.

Tom]]></description>
		<content:encoded><![CDATA[<p>Are you including the quotes around the variable value in the final SELECT string?</p>
<p>That&#8217;s simply a first guess because you don&#8217;t tell us anything about what error you actually get. For all we know, the error has nothing to do with how you&#8217;re inserting the value. Also, you don&#8217;t show us the SELECT string that results from inserting your variable value &#8212; we can&#8217;t tell if the SELECT statement is even correct.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.035 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 19:58:00 -->