<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VBA%2FExcel%2FAccess%2FWord%2FAccess%2FTable_Type</id>
		<title>VBA/Excel/Access/Word/Access/Table Type - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VBA%2FExcel%2FAccess%2FWord%2FAccess%2FTable_Type"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Access/Table_Type&amp;action=history"/>
		<updated>2026-04-07T01:27:30Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Access/Table_Type&amp;diff=1320&amp;oldid=prev</id>
		<title> в 16:33, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Access/Table_Type&amp;diff=1320&amp;oldid=prev"/>
				<updated>2010-05-26T16:33:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:33, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Access/Table_Type&amp;diff=1321&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VBA/Excel/Access/Word/Access/Table_Type&amp;diff=1321&amp;oldid=prev"/>
				<updated>2010-05-26T12:46:48Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Creating a List of Database Tables(Types of tables in the ADOX Tables collection)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Name               Description&lt;br /&gt;
ACCESS TABLE       An Access system table&lt;br /&gt;
LINK               A linked table from a non-ODBC data source&lt;br /&gt;
PASS-THROUGH       A linked table from an ODBC data source&lt;br /&gt;
SYSTEM TABLE       A Microsoft Jet system table&lt;br /&gt;
TABLE              A Microsoft Access table&lt;br /&gt;
VIEW               A table from a row-returning, non-parameterized query&lt;br /&gt;
Sub ListTbls()&lt;br /&gt;
   Dim cat As ADOX.Catalog&lt;br /&gt;
   Dim myTable As ADOX.Table&lt;br /&gt;
   Set cat = New ADOX.Catalog&lt;br /&gt;
   cat.ActiveConnection = &amp;quot;Provider=Microsoft.Jet.OLEDB.4.0;&amp;quot; &amp;amp; _&lt;br /&gt;
       &amp;quot;Data Source=&amp;quot; &amp;amp; CurrentProject.Path &amp;amp; _&lt;br /&gt;
       &amp;quot;\mydb.mdb&amp;quot;&lt;br /&gt;
   For Each myTable In cat.Tables&lt;br /&gt;
      If myTable.Type &amp;lt;&amp;gt; &amp;quot;VIEW&amp;quot; And _&lt;br /&gt;
          myTable.Type &amp;lt;&amp;gt; &amp;quot;SYSTEM TABLE&amp;quot; And _&lt;br /&gt;
          myTable.Type &amp;lt;&amp;gt; &amp;quot;ACCESS TABLE&amp;quot; Then Debug.Print myTable.Name&lt;br /&gt;
   Next myTable&lt;br /&gt;
   Set cat = Nothing&lt;br /&gt;
   MsgBox &amp;quot;View the list of tables in the Immediate window.&amp;quot;&lt;br /&gt;
End Sub&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Using the OpenSchema Method to List Database Tables==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Sub ListTbls2()&lt;br /&gt;
   Dim rst As ADODB.Recordset&lt;br /&gt;
   Set rst = CurrentProject.Connection.OpenSchema(adSchemaTables)&lt;br /&gt;
   Do Until rst.EOF&lt;br /&gt;
      Debug.Print rst.Fields(&amp;quot;TABLE_TYPE&amp;quot;) &amp;amp; &amp;quot; -&amp;gt;&amp;quot; _&lt;br /&gt;
          &amp;amp; rst.Fields(&amp;quot;TABLE_NAME&amp;quot;)&lt;br /&gt;
      rst.MoveNext&lt;br /&gt;
   Loop&lt;br /&gt;
End Sub&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>