<?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>IT Answers &#187; ADO</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/ado/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:12:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>ADO not receiving errors raised in sub procedure</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ado-not-receiving-errors-raised-in-sub-procedure/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/ado-not-receiving-errors-raised-in-sub-procedure/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 11:42:26 +0000</pubDate>
		<dc:creator>Palloquin</dc:creator>
				<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[ActiveX Data Objects]]></category>
		<category><![CDATA[ADO]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[Stored Procedures]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I&#8217;v known for a while that ado has it&#8217;s limits when it comes to dealing with errors&#8230; but this one hurts: I have a StoredProcedure (SP) that calls a sub procedure. In the sub procedure an error is raised. The error does not reach ADO for some reason. After some research I find that [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<div></div>
<div>I&#8217;v known for a while that ado has it&#8217;s limits when it comes to dealing with errors&#8230; but this one hurts:</div>
<div></div>
<div>I have a StoredProcedure (SP) that calls a sub procedure.</div>
<div>In the sub procedure an error is raised.</div>
<div>The error does not reach ADO for some reason.</div>
<div></div>
<div>After some research I find that if the sub procedure returns a result set before it raises the error this problem occurs, else, the error reaches ADO just fine.</div>
<div></div>
<div>Example code:</div>
<div></div>
<div>main procedure:</div>
<div>
<pre></div>
<div>
<div>CREATE	PROCEDURE sp_test</div>
<div>AS</div>
<div></div>
<div>	EXEC sp_error</div>
</div>
<div></div>
<div></pre>
</div>
<div></div>
<div>
<div>sub  procedure:</div>
<div>
<pre></div>
<div>
<div>
<div>CREATE PROCEDURE [dbo].[sp_error]</div>
<div>AS</div>
<div>	/* IF THIS LINE IS HERE, ERROR DO NOT SHOW UP IN ADO */</div>
<div>	SELECT 'test' AS value</div>
<div></div>
<div>	RAISERROR ('this is an error', 16, 1)</div>
<div>	RETURN</div>
</div>
</div>
<div></pre>
</div>
</div>
<div></div>
<div>VBSCript (ASP) code:</div>
<div>
<pre></div>
<div>
<div>dim oConn, oRS</div>
<div>	</div>
<div>Set oConn = Server.CreateObject("ADODB.Connection")</div>
<div>oConn.ConnectionString = ConnString</div>
<div>oConn.CommandTimeout = 180</div>
<div>oConn.Open </div>
<div></div>
<div>Set oRS = Server.CreateObject("ADODB.recordset")</div>
<div>oRS.activeconnection = oConn</div>
<div>oRS.cursortype = 3</div>
<div>oRS.locktype = 4</div>
<div>oRS.CursorLocation = 3</div>
<div></div>
<div>oRS.source = "EXEC test.dbo.sp_error"</div>
<div>oRS.open</div>
<div></div>
<div>oRS.close</div>
<div>	</div>
<div>oConn.close</div>
<div>	</div>
<div>SET oRS = Nothing</div>
<div>SET oConn = Nothing</div>
</div>
<div></div>
<div></pre>
</div>
<div></div>
<div>Now, I understand that I could work around this, by testing for the error in the main procedure etc&#8230; BUT THIS SHOULD JUST WORK!!!</div>
<div></div>
<div>Any thoughts?</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/ado-not-receiving-errors-raised-in-sub-procedure/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connect to Oracle 10g with VB6 using ADO</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/oracle-10g-vb6-connection/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/oracle-10g-vb6-connection/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 06:46:59 +0000</pubDate>
		<dc:creator>Gasper</dc:creator>
				<category><![CDATA[ActiveX Data Objects]]></category>
		<category><![CDATA[ADO]]></category>
		<category><![CDATA[ADO Connection]]></category>
		<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[Oracle connectivity]]></category>
		<category><![CDATA[Oracle Query Builder]]></category>
		<category><![CDATA[VB 6]]></category>
		<category><![CDATA[VB 6.0]]></category>
		<category><![CDATA[Visual Basic 6]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Question Edited by Michael Tidmarsh]]></description>
				<content:encoded><![CDATA[Question Edited by Michael Tidmarsh]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/oracle-10g-vb6-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temporary recordset in MS Access VBA</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/temporary-recordset-in-ms-access-vba/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/temporary-recordset-in-ms-access-vba/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 18:40:19 +0000</pubDate>
		<dc:creator>Darryn</dc:creator>
				<category><![CDATA[Access 2003]]></category>
		<category><![CDATA[ADO]]></category>
		<category><![CDATA[DAO]]></category>
		<category><![CDATA[Microsoft Access]]></category>
		<category><![CDATA[MS Access 2003]]></category>
		<category><![CDATA[MS Access VBA]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Discussion Post by JohnKennedy]]></description>
				<content:encoded><![CDATA[New Discussion Post by JohnKennedy]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/temporary-recordset-in-ms-access-vba/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>ADO connection fails after upgrading from Oracle 10g to Oracle 11g</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ado-connection-fails-after-upgrading-from-oracle-10g-to-oracle-11g/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/ado-connection-fails-after-upgrading-from-oracle-10g-to-oracle-11g/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 15:57:03 +0000</pubDate>
		<dc:creator>OracleATE</dc:creator>
				<category><![CDATA[ADO]]></category>
		<category><![CDATA[ADO Connection]]></category>
		<category><![CDATA[Database connectivity]]></category>
		<category><![CDATA[Oracle 10g migration]]></category>
		<category><![CDATA[Oracle 10g to 11g Migration]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Oracle 11g Database]]></category>
		<category><![CDATA[Oracle connectivity]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Oracle upgrades]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have an Oracle 11g database and am using ADO to communicate with it. Under 10g the ADO Connection property &#8216;SERVER&#8217; returned the correct database name, but since upgrading to 11g, the returned SERVER name is NULL. Any ideas?]]></description>
				<content:encoded><![CDATA[<p>I have an Oracle 11g database and am using ADO to communicate with it. Under 10g the ADO Connection property &#8216;SERVER&#8217; returned the correct database name, but since upgrading to 11g, the returned SERVER name is NULL. Any ideas?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/ado-connection-fails-after-upgrading-from-oracle-10g-to-oracle-11g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes rich text field to BLOB/Memo field in SQL Server using ADOdb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/notes-rich-text-field-to-blobmemo-field-in-sql-server-using-adodb/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/notes-rich-text-field-to-blobmemo-field-in-sql-server-using-adodb/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 19:40:56 +0000</pubDate>
		<dc:creator>tjarman</dc:creator>
				<category><![CDATA[ADO]]></category>
		<category><![CDATA[ADOdb]]></category>
		<category><![CDATA[Binary Large Object]]></category>
		<category><![CDATA[BLOB]]></category>
		<category><![CDATA[Database programming]]></category>
		<category><![CDATA[Memo fields]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SQL Server development]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have an agent that uses ADODB to connect and insert a row into a SQL Server database. I want to store the contents of the Body field in the memo (rich text) into a Memo field in the SQL Server database (or Blob field). I&#8217;m finding examples of reading this kind of data back [...]]]></description>
				<content:encoded><![CDATA[<p>I have an agent that uses ADODB to connect and insert a row into a SQL Server database. I want to store the contents of the Body field in the memo (rich text) into a Memo field in the SQL Server database (or Blob field). I&#8217;m finding examples of reading this kind of data back into a Notes application but not an example of taking Rich Text data into the Memo/Blob field in the RDB using ADO. Any help would be greatly appreciated. The Body field is your typical Body field in a mail memo where it can have formatting, attachments, embedded objects, etc.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/notes-rich-text-field-to-blobmemo-field-in-sql-server-using-adodb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Database connectivity using ActiveX control</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connectivity-using-activex-control/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/connectivity-using-activex-control/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 13:04:46 +0000</pubDate>
		<dc:creator>Reena</dc:creator>
				<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[ActiveX Data Objects]]></category>
		<category><![CDATA[ADO]]></category>
		<category><![CDATA[Database connectivity]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[VB 6]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic 6]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Provide a sample code to how by using VB 6.0 connectivity can be done by ActiveX(ADO) Control tool with the database SQL Server 2000]]></description>
				<content:encoded><![CDATA[<p>Provide a sample code to how by using VB 6.0 connectivity can be done by ActiveX(ADO) Control tool with the database SQL Server 2000</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/connectivity-using-activex-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing vertical data to a flat (unfortunately!) table</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/writing-vertical-data-to-a-flat-unfortunately-table/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/writing-vertical-data-to-a-flat-unfortunately-table/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 20:34:35 +0000</pubDate>
		<dc:creator>Kingle1</dc:creator>
				<category><![CDATA[Access 2003]]></category>
		<category><![CDATA[ADO]]></category>
		<category><![CDATA[Microsoft Access]]></category>
		<category><![CDATA[VBA]]></category>
		<category><![CDATA[Vertical Data]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have an application that I need to update (written by someone else) that requires that I take data from a nice, vertical table and write them into a pre-exisiting flat table. Column 1 of the vertical table is the PK for the flat table, while there are up to 35 entries that must be [...]]]></description>
				<content:encoded><![CDATA[<p>I have an application that I need to update (written by someone else) that requires that I take data from a nice, vertical table and write them into a pre-exisiting flat table. Column 1 of the vertical table is the PK for the flat table, while there are up to 35 entries that must be written into the flat table &#8212; each one would be a record in the vertical table. Any help would be greatly appreciated.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/writing-vertical-data-to-a-flat-unfortunately-table/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to fill Combo Box at runtime in VB 6.0 &#8230;I&#8217;ve used RecordSet object but rec.count of rs obj returns  (-1).I hv enough data in the DB</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-fill-combo-box-at-runtime-in-vb-60-i-ve-used-recordset-object-but-reccount-of-rs-obj-returns-1i-hv-enough-data-in-th-db/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-fill-combo-box-at-runtime-in-vb-60-i-ve-used-recordset-object-but-reccount-of-rs-obj-returns-1i-hv-enough-data-in-th-db/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 19:49:59 +0000</pubDate>
		<dc:creator>Spartanx</dc:creator>
				<category><![CDATA[ActiveX Data Objects]]></category>
		<category><![CDATA[ADO]]></category>
		<category><![CDATA[ADO Recordset Object]]></category>
		<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[Database connectivity]]></category>
		<category><![CDATA[Database programming]]></category>
		<category><![CDATA[Recordset Object]]></category>
		<category><![CDATA[RunTime]]></category>
		<category><![CDATA[VB 6]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic 6]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[[Private Sub Form_Load() FillCombo End Sub Sub FillCombo() Dim rs As New ADODB.Recordset, SQL As String SQL = "Select Spare_Name from Spare" rs.Open SQL, Conn, adOpenDynamic, adLockOptimistic Dim i As Integer For i = 1 To rs.RecordCount cboSpare.AddItem rs("Spare_Name") rs.MoveNext Next MsgBox "Successss", vbOKOnly End Sub]]]></description>
				<content:encoded><![CDATA[<p>[Private Sub Form_Load()<br />
FillCombo<br />
End Sub<br />
Sub FillCombo()<br />
Dim rs As New ADODB.Recordset, SQL As String<br />
SQL = "Select Spare_Name from Spare"</p>
<p>rs.Open SQL, Conn, adOpenDynamic, adLockOptimistic<br />
Dim i As Integer</p>
<p>For i = 1 To rs.RecordCount<br />
    cboSpare.AddItem rs("Spare_Name")<br />
    rs.MoveNext<br />
Next<br />
MsgBox "Successss", vbOKOnly</p>
<p>End Sub]</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-fill-combo-box-at-runtime-in-vb-60-i-ve-used-recordset-object-but-reccount-of-rs-obj-returns-1i-hv-enough-data-in-th-db/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combo box question when developing a SQL database in Visual Basic 6</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/combo-box-question-when-developing-a-sql-database-in-visual-basic-6/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/combo-box-question-when-developing-a-sql-database-in-visual-basic-6/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 18:20:27 +0000</pubDate>
		<dc:creator>SQL Server Ask the Experts</dc:creator>
				<category><![CDATA[ADO]]></category>
		<category><![CDATA[Microsoft Access]]></category>
		<category><![CDATA[SQL Server database]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic 6]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am developing a SQL database using Visual Basic 6 with ADO and Microsoft Access, but in it, I have a combo box with two options &#8211; yes and no. I want the combo box, after yes or no is selected, to open another form where a user can enter other details. How would I [...]]]></description>
				<content:encoded><![CDATA[<p>I am developing a SQL database using Visual Basic 6 with ADO and Microsoft Access, but in it, I have a combo box with two options &#8211; yes and no. I want the combo box, after yes or no is selected, to open another form where a user can enter other details. How would I do this?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/combo-box-question-when-developing-a-sql-database-in-visual-basic-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to connect Access database to a Visual Studio 2005?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-connect-access-database-to-a-visual-studio-2005/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-connect-access-database-to-a-visual-studio-2005/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 06:38:17 +0000</pubDate>
		<dc:creator>Rajeshbnp2000</dc:creator>
				<category><![CDATA[ADO]]></category>
		<category><![CDATA[ADODB DSN]]></category>
		<category><![CDATA[Database connectivity]]></category>
		<category><![CDATA[DataSource]]></category>
		<category><![CDATA[DSN]]></category>
		<category><![CDATA[Microsoft Access]]></category>
		<category><![CDATA[VB 2005]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic 2005]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[i use the following code to connect and i created DSN but its not getting connected&#8230; whats my fault can anyone help me?? Dim X As ADODB.Connection Dim RS As ADODB.Recordset Dim RS1 As ADODB.Recordset i am getting underlined error in adodb.connection, adodb.recordset i think there is some error in the DSN creation. so anyone [...]]]></description>
				<content:encoded><![CDATA[<p>i use the following code to connect and i created DSN but its not getting connected&#8230; whats my fault can anyone help me??</p>
<p>Dim X As ADODB.Connection<br />
    Dim RS As ADODB.Recordset<br />
    Dim RS1 As ADODB.Recordset</p>
<p>i am getting underlined error in adodb.connection, adodb.recordset</p>
<p>i think there is some error in the DSN creation. so anyone please help me to create DSN in the same machine which i am working.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-connect-access-database-to-a-visual-studio-2005/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/19 queries in 0.026 seconds using memcached
Object Caching 1000/1062 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 08:04:56 -->