<?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: Cant Access Table in MS Query</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: PiC</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-39005</link>
		<dc:creator>PiC</dc:creator>
		<pubDate>Thu, 16 Apr 2009 20:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-39005</guid>
		<description>&lt;p&gt;Hi Rob,&lt;br&gt;
Maybe I do sth wrong, but I do not even see my UNION-ALL-AND-NZ-FUNCTION query to connect to when using JET OLE DB connection...&lt;br&gt;
Any idea what I might do wrong?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Rob,<br />
Maybe I do sth wrong, but I do not even see my UNION-ALL-AND-NZ-FUNCTION query to connect to when using JET OLE DB connection&#8230;<br />
Any idea what I might do wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stew</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-33638</link>
		<dc:creator>Stew</dc:creator>
		<pubDate>Wed, 16 Jul 2008 09:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-33638</guid>
		<description>&lt;p&gt;I&#039;ve just had the same sort of problem. In my case the root cause was that I created the MS Access Query logged into MS Access as myself. &lt;/p&gt;
&lt;p&gt;When I created the query using the &quot;admin&quot; user, I could link the query into Excel. No idea why, but at least it works now.&lt;/p&gt;
&lt;p&gt;S.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just had the same sort of problem. In my case the root cause was that I created the MS Access Query logged into MS Access as myself. </p>
<p>When I created the query using the &#8220;admin&#8221; user, I could link the query into Excel. No idea why, but at least it works now.</p>
<p>S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29993</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 21 Jan 2008 15:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29993</guid>
		<description>&lt;p&gt;That was about my reaction when i discovered it!  I&#039;d spent 4 years using weird systems to get round the lack of support for union queries.&lt;/p&gt;
&lt;p&gt;Quite why MS hide it away so much I have no idea.&lt;/p&gt;
&lt;p&gt;If you get some example parameter code, I&#039;d love to see it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That was about my reaction when i discovered it!  I&#8217;d spent 4 years using weird systems to get round the lack of support for union queries.</p>
<p>Quite why MS hide it away so much I have no idea.</p>
<p>If you get some example parameter code, I&#8217;d love to see it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29917</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Wed, 16 Jan 2008 20:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29917</guid>
		<description>&lt;p&gt;If you want a GUI for OLEDB queries, try my Query Editor tool, available on my website.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If you want a GUI for OLEDB queries, try my Query Editor tool, available on my website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29916</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 16 Jan 2008 19:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29916</guid>
		<description>&lt;p&gt;Rob:  That&#039;s freaking awesome!  I may never use MSQ again.  Writing my own parameter code may be worth it just to use this interface.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rob:  That&#8217;s freaking awesome!  I may never use MSQ again.  Writing my own parameter code may be worth it just to use this interface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29889</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 15 Jan 2008 14:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29889</guid>
		<description>&lt;p&gt;In general I&#039;ve stopped using MS Query (in favour of OLEDB) because of the number of things it doesn&#039;t like - union queries being one of them.&lt;/p&gt;
&lt;p&gt;Go via the &#039;Import Data&#039; option in DataImport External Data and choose the JET OLEDB provider.  Then you can use any Access syntax you like (at least as far as I&#039;ve found).  There&#039;s no GUI but I don&#039;t expect that&#039;s a problem.&lt;/p&gt;
&lt;p&gt;The only thing it won&#039;t do is parameter queries so you still have to use ODBC for that.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In general I&#8217;ve stopped using MS Query (in favour of OLEDB) because of the number of things it doesn&#8217;t like &#8211; union queries being one of them.</p>
<p>Go via the &#8216;Import Data&#8217; option in DataImport External Data and choose the JET OLEDB provider.  Then you can use any Access syntax you like (at least as far as I&#8217;ve found).  There&#8217;s no GUI but I don&#8217;t expect that&#8217;s a problem.</p>
<p>The only thing it won&#8217;t do is parameter queries so you still have to use ODBC for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29835</link>
		<dc:creator>Howard</dc:creator>
		<pubDate>Fri, 11 Jan 2008 01:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29835</guid>
		<description>&lt;p&gt;Nevermind - apparently COALESCE doesn&#039;t work from MS Query when going against an Access database.  It does work from MS Query with a SQL Server database.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nevermind &#8211; apparently COALESCE doesn&#8217;t work from MS Query when going against an Access database.  It does work from MS Query with a SQL Server database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric W. Bachtal</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29834</link>
		<dc:creator>Eric W. Bachtal</dc:creator>
		<pubDate>Fri, 11 Jan 2008 00:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29834</guid>
		<description>&lt;p&gt;Yep, Nz() is a method of the Access.Application object, so isn&#039;t available on JET db connections outside of Access.  I just happened to write a little about this last November, if anyone&#039;s interested:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://ewbi.blogs.com/develops/2007/11/why-no-nz-via-j.html&quot; rel=&quot;nofollow&quot;&gt;http://ewbi.blogs.com/develops/2007/11/why-no-nz-via-j.html&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yep, Nz() is a method of the Access.Application object, so isn&#8217;t available on JET db connections outside of Access.  I just happened to write a little about this last November, if anyone&#8217;s interested:</p>
<p><a href="http://ewbi.blogs.com/develops/2007/11/why-no-nz-via-j.html" rel="nofollow">http://ewbi.blogs.com/develops/2007/11/why-no-nz-via-j.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Bruce</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29833</link>
		<dc:creator>Rob Bruce</dc:creator>
		<pubDate>Thu, 10 Jan 2008 21:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29833</guid>
		<description>&lt;p&gt;Isn&#039;t NZ a native Access function? I&#039;m not surprised that MSQuery doesn&#039;t recognise it.&lt;/p&gt;
&lt;p&gt;It&#039;s for this reason of compatibility issues between different flavours of SQL that I find it a good policy to use stored procs (SQL Server and other &#039;proper&#039; RDBMSs) or parm queries (Access) to do all of the SQL work in my applications wherever possible.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t NZ a native Access function? I&#8217;m not surprised that MSQuery doesn&#8217;t recognise it.</p>
<p>It&#8217;s for this reason of compatibility issues between different flavours of SQL that I find it a good policy to use stored procs (SQL Server and other &#8216;proper&#8217; RDBMSs) or parm queries (Access) to do all of the SQL work in my applications wherever possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/10/cant-access-table-in-ms-query/#comment-29832</link>
		<dc:creator>Howard</dc:creator>
		<pubDate>Thu, 10 Jan 2008 20:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1796#comment-29832</guid>
		<description>&lt;p&gt;Coalesce returns the first nonnull expression among its arguments.&lt;/p&gt;
&lt;p&gt;How about this:&lt;/p&gt;
&lt;p&gt;COALESCE([MyNumber],100) AS Expr1&lt;/p&gt;
&lt;p&gt;in place of&lt;/p&gt;
&lt;p&gt;Iif(IsNull([MyNumber]),100,[MyNumber]) AS Expr1 &lt;/p&gt;
&lt;p&gt;I left the ] off the end of MyNumber the first time.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Coalesce returns the first nonnull expression among its arguments.</p>
<p>How about this:</p>
<p>COALESCE([MyNumber],100) AS Expr1</p>
<p>in place of</p>
<p>Iif(IsNull([MyNumber]),100,[MyNumber]) AS Expr1 </p>
<p>I left the ] off the end of MyNumber the first time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

