<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1013661" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1013661</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079451</link>
    <description> &lt;p&gt;Got into this one kind of late.&lt;/p&gt;
&lt;p&gt;You can update multiple recordsets at once when using ADO. Make sure the cursortype is &quot;adOpenKeyset&quot; and the locktype is &quot;adLockBatchOptimistic&quot;. Then you can use the UpdateBatch method.&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Mar 2001 14:35:53 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1079451 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079418</link>
    <description> &lt;p&gt;No, a recordset is just a container for result rows - to execute SQL on it, it has to be connected to an ADO provider.  For the original problem you asked about, look into the options you can set for the CursorType.&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Mar 2001 04:39:09 +0000</pubDate>
 <dc:creator>bhorstkotte</dc:creator>
 <guid isPermaLink="false">comment 1079418 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079328</link>
    <description> &lt;p&gt;ahhh...&lt;br /&gt;
No, I&#039;ve never seen/heard anything like that.&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 07:21:40 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1079328 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079326</link>
    <description> &lt;p&gt;Well this here:&lt;/p&gt;
&lt;p&gt;do while not rs.eof&lt;br /&gt;
SQL2 = &quot;UPDATE Rankings SET dname=&#039;&quot; &amp;amp; Replace(rs(&quot;dname&quot;),&quot; &quot;,&quot;%20&quot;) &amp;amp; &quot;&#039; WHERE dname=&#039;&quot; &amp;amp; rs(&quot;dname&quot;) &amp;amp; &quot;&#039;&quot;&lt;br /&gt;
dbopen.execute(SQL2)&lt;br /&gt;
rs.movenext&lt;br /&gt;
loop&lt;/p&gt;
&lt;p&gt;If instead of updating the &#039;dname&#039; feild in the &#039;Rankings&#039; table, I could be updating the &#039;dname&#039; feild in the rs recordset.  That way I would not have to create another recordset just to get the data back form that table.&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 07:18:55 +0000</pubDate>
 <dc:creator>ShinNathan</dc:creator>
 <guid isPermaLink="false">comment 1079326 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079323</link>
    <description> &lt;p&gt;ummm...&lt;br /&gt;
To my knowledge, no.&lt;/p&gt;
&lt;p&gt;But what exactly do you mean?&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 07:11:25 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1079323 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079322</link>
    <description> &lt;p&gt;One more question &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Can you execute sql on a recordset?  Would be so great if you could...&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 07:09:18 +0000</pubDate>
 <dc:creator>ShinNathan</dc:creator>
 <guid isPermaLink="false">comment 1079322 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079319</link>
    <description> &lt;p&gt;That&#039;s why we&#039;re here. Please, feel free to share all your web related problems with us... LOL! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 06:52:26 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1079319 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079317</link>
    <description> &lt;p&gt;I looked it up and it means that you can&#039;t use nextRecordset when using access.&lt;/p&gt;
&lt;p&gt;I did not think that it mattered what database I was using once the data was pulled out of it into recordsets...?&lt;/p&gt;
&lt;p&gt;Anyway, I don&#039;t think I can solve this using ado.  I can work around it using a sub program.  I&#039;ll do that.  A little  more sloppy, but will get the job done.&lt;/p&gt;
&lt;p&gt;Thanks you all your help &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;I made a new page with just this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;option explicit&lt;br /&gt;dim dbopen&lt;br /&gt;dim SQL&lt;br /&gt;dim rs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;DB CONNECTION&lt;br /&gt;set dbopen=Server.CreateObject(&quot;ADODB.Connection&quot;)&lt;br /&gt;dbopen.Provider=&quot;Microsoft.Jet.OLEDB.4.0&quot;&lt;br /&gt;dbopen.open Server.MapPath(&quot;/SHINNATHAN/database/CDR.mdb&quot;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;SETUP RECORDSET&lt;br /&gt;SQL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT dName FROM Drivers&quot;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;set rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dbopen&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;execute&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;SQL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Testing recordset update&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;response&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;write rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;dname&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;p&amp;gt;&quot;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;dname&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;this&quot;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Update&lt;br /&gt;&lt;br /&gt;rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;close&lt;br /&gt;dbopen&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;close&lt;br /&gt;set dbopen&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Nothing&lt;br /&gt;set rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Nothing&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;And still I got the error...  I am giving up &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 06:49:29 +0000</pubDate>
 <dc:creator>ShinNathan</dc:creator>
 <guid isPermaLink="false">comment 1079317 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079316</link>
    <description> &lt;p&gt;are you making any other queries to that tables later or before in that script?&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 06:47:10 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1079316 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-ado-recordset#comment-1079314</link>
    <description> &lt;p&gt;I don&#039;t know.&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Mar 2001 06:44:45 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1079314 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
