<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UC&#039;s Corner &#187; DAO.TableDef</title>
	<atom:link href="http://yussi.nl/index.php/tag/dao-tabledef/feed" rel="self" type="application/rss+xml" />
	<link>http://yussi.nl</link>
	<description>Yussi Ariefiyono</description>
	<lastBuildDate>Fri, 24 Jun 2011 13:08:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>display list of table from other database with DAO</title>
		<link>http://yussi.nl/index.php/display-list-of-table-from-other-database-with-dao.html</link>
		<comments>http://yussi.nl/index.php/display-list-of-table-from-other-database-with-dao.html#comments</comments>
		<pubDate>Thu, 08 Apr 2010 07:20:44 +0000</pubDate>
		<dc:creator>yussi ariefiyono</dc:creator>
				<category><![CDATA[vba]]></category>
		<category><![CDATA[DAO.TableDef]]></category>
		<category><![CDATA[TableDef]]></category>

		<guid isPermaLink="false">http://yussi.nl/?p=88</guid>
		<description><![CDATA[this function will display list of table from other database, it come handy if you want to make a tool for inventory of all your db Sub displayTable() Dim dbs As Database Dim otable As DAO.TableDef Dim ItemName As String Set dbs = OpenDatabase(&#8220;Db Name&#8221;) For Each otable In dbs.TableDefs If UCase(Left(otable.Name, 3)) &#60;&#62; &#8220;MSY&#8221;]]></description>
			<content:encoded><![CDATA[<p>this function will display list of table from other database, it come handy if you want to make a tool for inventory of all your db</p>
<div id="_mcePaste">
<blockquote>
<div id="_mcePaste">Sub displayTable()</div>
<div id="_mcePaste">Dim dbs As Database</div>
<div id="_mcePaste">Dim otable As DAO.TableDef</div>
<div id="_mcePaste">Dim ItemName As String</div>
<div id="_mcePaste">Set dbs = OpenDatabase(&#8220;Db Name&#8221;)</div>
<div id="_mcePaste">For Each otable In dbs.TableDefs</div>
<div id="_mcePaste">If UCase(Left(otable.Name, 3)) &lt;&gt; &#8220;MSY&#8221; Then</div>
<div id="_mcePaste">ItemName = otable.Name</div>
<div id="_mcePaste">ItemName = Replace(ItemName, &#8220;,&#8221;, &#8220;&#8211;&#8221;)</div>
<div id="_mcePaste">debug.print ItemName</div>
<div id="_mcePaste">ItemName = &#8220;&#8221;</div>
<div id="_mcePaste">End If</div>
<div id="_mcePaste">Next otable</div>
<div id="_mcePaste">Set otable = Nothing</div>
<div id="_mcePaste">Set dbs = Nothing</div>
<div id="_mcePaste">End Sub</div>
</blockquote>
</div>
]]></content:encoded>
			<wfw:commentRss>http://yussi.nl/index.php/display-list-of-table-from-other-database-with-dao.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

