<?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 Classes from Access Tables</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Bob Phillips</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36311</link>
		<dc:creator>Bob Phillips</dc:creator>
		<pubDate>Sat, 06 Dec 2008 19:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36311</guid>
		<description>&lt;p&gt;Dick, that sounds like a date. I think there is definitley some potential symbiosis here, so I will let you know when we have something to show. Don&#039;t expect it to be soon, progress on a collabarative effort is slow, especially when it is just a side of the table affair.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick, that sounds like a date. I think there is definitley some potential symbiosis here, so I will let you know when we have something to show. Don&#8217;t expect it to be soon, progress on a collabarative effort is slow, especially when it is just a side of the table affair.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36300</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Fri, 05 Dec 2008 23:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36300</guid>
		<description>&lt;p&gt;Bob:  Sounds interesting.  I started this based on some work I was doing with Ruby on Rails.  It does everything soup to nuts.  All you do is create the database, and it handles all the CREATE and DROP statements so that your database is managed completely within the Rails framework.  I didn&#039;t want to go that far because it would be too much work.  Maybe as each of us gets further along, we should see about combining them.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Bob:  Sounds interesting.  I started this based on some work I was doing with Ruby on Rails.  It does everything soup to nuts.  All you do is create the database, and it handles all the CREATE and DROP statements so that your database is managed completely within the Rails framework.  I didn&#8217;t want to go that far because it would be too much work.  Maybe as each of us gets further along, we should see about combining them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Phillips</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36260</link>
		<dc:creator>Bob Phillips</dc:creator>
		<pubDate>Sat, 29 Nov 2008 01:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36260</guid>
		<description>&lt;p&gt;Hey Dick, I have started a collabarative effort with some guys over at VBAExpress to build a database generator. The original aime was to capture some definitions of the database and then build the database on the fly (a bit like the table driven menu builders). My original idea was just an Excel table, and some clas modules at the back to handle the different database types. I started this collabaration partly because I felt the tool could be useful, more as a way of doing a collabarative project to see what evolved out of a group as against a singleton.&lt;/p&gt;
&lt;p&gt;We are already talking multiple front-ends (Excel tables, Access databases, foems, et al), which would generate XML defintions that are passed to a COM backend. This might make an interesting addition, the data discovery would not be necessary as the inputs would be defining them when defining the database.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Dick, I have started a collabarative effort with some guys over at VBAExpress to build a database generator. The original aime was to capture some definitions of the database and then build the database on the fly (a bit like the table driven menu builders). My original idea was just an Excel table, and some clas modules at the back to handle the different database types. I started this collabaration partly because I felt the tool could be useful, more as a way of doing a collabarative project to see what evolved out of a group as against a singleton.</p>
<p>We are already talking multiple front-ends (Excel tables, Access databases, foems, et al), which would generate XML defintions that are passed to a COM backend. This might make an interesting addition, the data discovery would not be necessary as the inputs would be defining them when defining the database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Egon</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36161</link>
		<dc:creator>Egon</dc:creator>
		<pubDate>Thu, 20 Nov 2008 18:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36161</guid>
		<description>&lt;p&gt;Dick, once you get to a stage you&#039;re happy with, it might actually be a very good project to open source - it seems like just about every current language but VBA has an open source Data Access Layer code generator (or some other kind of data persistence tool). I could see this being pretty useful for a lot of people.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick, once you get to a stage you&#8217;re happy with, it might actually be a very good project to open source &#8211; it seems like just about every current language but VBA has an open source Data Access Layer code generator (or some other kind of data persistence tool). I could see this being pretty useful for a lot of people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36137</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Tue, 18 Nov 2008 20:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36137</guid>
		<description>&lt;p&gt;I&#039;ll check out ADOX, thanks Rob.  It sounds like we should open source this project.  I think it would be the first open source VBA project ever!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ll check out ADOX, thanks Rob.  It sounds like we should open source this project.  I think it would be the first open source VBA project ever!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Schraven</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36127</link>
		<dc:creator>Hans Schraven</dc:creator>
		<pubDate>Tue, 18 Nov 2008 11:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36127</guid>
		<description>&lt;p&gt;To create a classmodule with some code&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; newclassmodule()&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; ActiveWorkbook.VBProject.VBComponents.Add(vbext_ct_ClassModule)&lt;br&gt;
&#160; &#160; .Name = &lt;span class=&quot;st0&quot;&gt;&quot;testklasse&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; .CodeModule.AddFromString Replace(&lt;span class=&quot;st0&quot;&gt;&quot;private Sub gemakkelijk ()# &#039; Dit is slechts een voorbeeld # End Sub&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;#&quot;&lt;/span&gt;, vbCr)&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>To create a classmodule with some code</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> newclassmodule()<br />
&nbsp; <span class="kw1">With</span> ActiveWorkbook.VBProject.VBComponents.Add(vbext_ct_ClassModule)<br />
&nbsp; &nbsp; .Name = <span class="st0">&#8220;testklasse&#8221;</span><br />
&nbsp; &nbsp; .CodeModule.AddFromString Replace(<span class="st0">&#8220;private Sub gemakkelijk ()# &#8216; Dit is slechts een voorbeeld # End Sub&#8221;</span>, <span class="st0">&#8220;#&#8221;</span>, vbCr)<br />
&nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugh Lerwill</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36120</link>
		<dc:creator>Hugh Lerwill</dc:creator>
		<pubDate>Mon, 17 Nov 2008 21:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36120</guid>
		<description>&lt;p&gt;Writing/ injecting code with code. Does this help at all?&lt;/p&gt;
&lt;p&gt;a$ = &quot;Private Sub Workbook_Open()&quot; &amp; vbCr &amp; _&lt;br&gt;
     &quot;Worksheets(1).Unprotect&quot; &amp; vbCr &amp; _&lt;br&gt;
     &quot;Worksheets(1).Range(&quot;&quot;B9?&quot;).value = Replace$(Name,&quot;&quot;.xls&quot;&quot;,&quot;&quot;&quot;&quot;)&quot; &amp; vbCr &amp; _&lt;br&gt;
     &quot;Worksheets(1).Range(&quot;&quot;A7?&quot;).value = &quot;&quot;Current filename &quot;&quot; &amp; Path &amp; &quot;&quot;&quot;&quot; &amp; Name&quot; &amp; vbCr &amp; _&lt;br&gt;
     &quot;Worksheets(1).Protect&quot; &amp; vbCr &amp; _&lt;br&gt;
     &quot;Saved = True&quot; &amp; vbCr &amp; _&lt;br&gt;
     &quot;End Sub&quot;&lt;br&gt;
.ActiveWorkbook.VBProject.VBComponents.Item(&quot;ThisWorkbook&quot;).CodeModule.AddFromString (a$)&lt;/p&gt;
&lt;p&gt;My contents of a$ are just an example of something I have running; please replace it with something which is useful to you. Watch out for those double double quotes!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Writing/ injecting code with code. Does this help at all?</p>
<p>a$ = &#8220;Private Sub Workbook_Open()&#8221; &amp; vbCr &amp; _<br />
     &#8220;Worksheets(1).Unprotect&#8221; &amp; vbCr &amp; _<br />
     &#8220;Worksheets(1).Range(&#8220;&#8221;B9?&#8221;).value = Replace$(Name,&#8221;".xls&#8221;",&#8221;"&#8221;")&#8221; &amp; vbCr &amp; _<br />
     &#8220;Worksheets(1).Range(&#8220;&#8221;A7?&#8221;).value = &#8220;&#8221;Current filename &#8220;&#8221; &amp; Path &amp; &#8220;&#8221;"&#8221; &amp; Name&#8221; &amp; vbCr &amp; _<br />
     &#8220;Worksheets(1).Protect&#8221; &amp; vbCr &amp; _<br />
     &#8220;Saved = True&#8221; &amp; vbCr &amp; _<br />
     &#8220;End Sub&#8221;<br />
.ActiveWorkbook.VBProject.VBComponents.Item(&#8220;ThisWorkbook&#8221;).CodeModule.AddFromString (a$)</p>
<p>My contents of a$ are just an example of something I have running; please replace it with something which is useful to you. Watch out for those double double quotes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36104</link>
		<dc:creator>Bert</dc:creator>
		<pubDate>Sun, 16 Nov 2008 22:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36104</guid>
		<description>&lt;p&gt;I looked into this type of thing awhile ago. Unfortunately, I wasn&#039;t able to find any object-relational mapping (ORM) tool or any other kind of persistence tool for VBA. Closest thing I found was JCFramework for VB6, but it looked too complex to quickly port to VBA, so I just abandoned the idea. But I wish you well in your adventures with this more lightweight framework, Dick.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I looked into this type of thing awhile ago. Unfortunately, I wasn&#8217;t able to find any object-relational mapping (ORM) tool or any other kind of persistence tool for VBA. Closest thing I found was JCFramework for VB6, but it looked too complex to quickly port to VBA, so I just abandoned the idea. But I wish you well in your adventures with this more lightweight framework, Dick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Bruce</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/11/15/creating-classes-from-access-tables/#comment-36095</link>
		<dc:creator>Rob Bruce</dc:creator>
		<pubDate>Sun, 16 Nov 2008 10:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1912#comment-36095</guid>
		<description>&lt;p&gt;I reckon ADOX (Microsoft ADO Extensions for DDL and Security) would be a better bet for discovery of tables within your database and their fields and data types.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I reckon ADOX (Microsoft ADO Extensions for DDL and Security) would be a better bet for discovery of tables within your database and their fields and data types.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
</channel>
</rss>

