<?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"
	>
<channel>
	<title>Comments on: Creating ADODB Connection in VB</title>
	<atom:link href="http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/</link>
	<description>Bringing geekiness to the world</description>
	<pubDate>Fri, 21 Nov 2008 20:25:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Guru</title>
		<link>http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-208</link>
		<dc:creator>Guru</dc:creator>
		<pubDate>Sat, 18 Oct 2008 17:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-208</guid>
		<description>Ideally, you would use rstable.addnew

Then, it is logical to push all the data from our input form to the recordset and update it so as the data gets stored in our database. Let me show you how to do it.

#1
rstable(0)=txtsomething.text

"(0)" represents the column it is referring to. "0" is the index. It starts from 0 to number of fields in database minus 1 (n-1).

Lets say we have got 5 fields, so it will start from 0 to 4

#2
We can also use the below method which i prefer.

rstable("fieldname")=txtsomething.text

This is more meaningful. We can understand what is going on and our code becomes more readable.

The last step for adding new record is rstable.update

Now we are done with adding new record.

Deleting a record is simple. Use any method (record navigation, search or filter) for going to a record, then on your delete button (that is what i use normally), use rstable.delete

That's it
Note: I have not tried the codes in my comment right now. It was some time back. So test it and let me know. And btw, the codes in the tut work well. :)</description>
		<content:encoded><![CDATA[<p>Ideally, you would use rstable.addnew</p>
<p>Then, it is logical to push all the data from our input form to the recordset and update it so as the data gets stored in our database. Let me show you how to do it.</p>
<p>#1<br />
rstable(0)=txtsomething.text</p>
<p>&#8220;(0)&#8221; represents the column it is referring to. &#8220;0&#8243; is the index. It starts from 0 to number of fields in database minus 1 (n-1).</p>
<p>Lets say we have got 5 fields, so it will start from 0 to 4</p>
<p>#2<br />
We can also use the below method which i prefer.</p>
<p>rstable(&#8221;fieldname&#8221;)=txtsomething.text</p>
<p>This is more meaningful. We can understand what is going on and our code becomes more readable.</p>
<p>The last step for adding new record is rstable.update</p>
<p>Now we are done with adding new record.</p>
<p>Deleting a record is simple. Use any method (record navigation, search or filter) for going to a record, then on your delete button (that is what i use normally), use rstable.delete</p>
<p>That&#8217;s it<br />
Note: I have not tried the codes in my comment right now. It was some time back. So test it and let me know. And btw, the codes in the tut work well. <img src='http://www.geekscribes.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swetha</title>
		<link>http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-207</link>
		<dc:creator>Swetha</dc:creator>
		<pubDate>Fri, 17 Oct 2008 05:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-207</guid>
		<description>Hi, I read through the coding. Till now i was using the ADODC to get the connections done. Using this coding snippet if the connections are done then later to add or delete from the recordset what would be the coding that i need to use. Please help. 
Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi, I read through the coding. Till now i was using the ADODC to get the connections done. Using this coding snippet if the connections are done then later to add or delete from the recordset what would be the coding that i need to use. Please help.<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: InF</title>
		<link>http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-179</link>
		<dc:creator>InF</dc:creator>
		<pubDate>Sat, 06 Sep 2008 19:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-179</guid>
		<description>Good suggestion Albert! It will be considered.

(Hear that Guru? Get going! Thou art the VB-Guy! :D)</description>
		<content:encoded><![CDATA[<p>Good suggestion Albert! It will be considered.</p>
<p>(Hear that Guru? Get going! Thou art the VB-Guy! :D)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albert</title>
		<link>http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-178</link>
		<dc:creator>Albert</dc:creator>
		<pubDate>Fri, 05 Sep 2008 08:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-178</guid>
		<description>make an video tutorial for this tutorial for the new user or doesn't have any background on vb.</description>
		<content:encoded><![CDATA[<p>make an video tutorial for this tutorial for the new user or doesn&#8217;t have any background on vb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Metting Project deadlines &#124; YasirMX</title>
		<link>http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-37</link>
		<dc:creator>Metting Project deadlines &#124; YasirMX</dc:creator>
		<pubDate>Thu, 24 Apr 2008 18:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/#comment-37</guid>
		<description>[...] Well to my friends, VB6 seems to be a toy and they even had time to write a tutorial about connecting to an ADODB connection. http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Well to my friends, VB6 seems to be a toy and they even had time to write a tutorial about connecting to an ADODB connection. <a href="http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/" rel="nofollow">http://www.geekscribes.net/blog/2008/04/23/creating-adodb-connection-in-vb/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
