<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016231" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016231</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/yippy-execute-returns-recordsaffected#comment-1094241</link>
    <description> &lt;p&gt;Right OK.  I will have to play around with this a bit.  The RecordsAffected property retured by the Execute method seems to be giving me what I need within Access.&lt;/p&gt;
&lt;p&gt;Thanks Guys.&lt;/p&gt;
 </description>
     <pubDate>Sun, 18 Nov 2001 22:39:43 +0000</pubDate>
 <dc:creator>PaulCAust</dc:creator>
 <guid isPermaLink="false">comment 1094241 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/yippy-execute-returns-recordsaffected#comment-1094050</link>
    <description> &lt;p&gt;Yeah, those are just the variable names to pass the values between the ASP page and the stored procedure. So &quot;ioAction&quot; is the same as &quot;SPResult&quot; from my example.&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Nov 2001 13:23:37 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1094050 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/yippy-execute-returns-recordsaffected#comment-1094041</link>
    <description> &lt;p&gt;This is what I found from the link above...&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Set pAction = oCmd.CreateParameter(&amp;quot;ioAction&amp;quot;,131,3,50,0)&lt;br /&gt;oCmd.Parameters.Append pAction&lt;br /&gt;&lt;br /&gt;Set pMessage =&lt;br /&gt;oCmd.CreateParameter(&amp;quot;ioMessage&amp;quot;,200,3,50,&amp;quot;&amp;quot;)&lt;br /&gt;oCmd.Parameters.Append pMessage&lt;br /&gt;&lt;br /&gt;oCmd.Execute&lt;br /&gt;&amp;nbsp; if ( oCmd(&amp;quot;ioAction&amp;quot;) &amp;lt;&amp;gt; 0 ) then&lt;br /&gt;Response.Write( oCmd(&amp;quot;ioMessage&amp;quot;) )&lt;br /&gt;end if&lt;/code&gt;&lt;/div&gt;&#039;I looked up CreateParameter() in an ASP book I have, and it was the next page after my bookmark. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;  From what I can tell, there is nothing special about ioAction and ioMessage.  They are simply the names assigned to those parameters.&lt;/p&gt;
&lt;p&gt;That&#039;s all I can say.  I haven&#039;t used ASP in about a year, so I haven&#039;t had any motivation to finish that book. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/eyeroll.png&quot; title=&quot;Roll eyes&quot; alt=&quot;Roll eyes&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Nov 2001 07:18:31 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1094041 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Stored Procedures</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/yippy-execute-returns-recordsaffected#comment-1094032</link>
    <description> &lt;p&gt;The 15Seconds Article&lt;br /&gt;
The article is titled Calling Stored Procedures From Active Server Pages (a very creative title I thought) by Al Hetzel.&lt;/p&gt;
&lt;p&gt;URL: &lt;a href=&quot;http://www.15seconds.com/Issue/000810.htm&quot; class=&quot;bb-url&quot;&gt;http://www.15seconds.com/Issue/000810.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
 </description>
     <pubDate>Thu, 15 Nov 2001 22:58:17 +0000</pubDate>
 <dc:creator>PaulCAust</dc:creator>
 <guid isPermaLink="false">comment 1094032 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/yippy-execute-returns-recordsaffected#comment-1094008</link>
    <description> &lt;p&gt;Paul,&lt;/p&gt;
&lt;p&gt;Whenever I want to check the result of a stored procedure I usually use a &quot;return&quot; value or an &quot;output&quot; value. This return value could be the number of returned records, an error number, whatever you want. Here&#039;s a quick sample stored proc:&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE ClienteleAdmin.Client_Site_Search_Inventory&lt;br /&gt;
(&lt;br /&gt;
	@SPResult varchar(50) = NULL	OUTPUT&lt;br /&gt;
)&lt;/p&gt;
&lt;p&gt;AS&lt;/p&gt;
&lt;p&gt;DECLARE	@Records integer&lt;/p&gt;
&lt;p&gt;SELECT @Records = ID FROM Sometable&lt;/p&gt;
&lt;p&gt;IF @@ROWCOUNT &amp;gt; 0 @SPResult = &quot;Found Records&quot; ELSE @SPResult = &quot;Found None&quot;&lt;/p&gt;
&lt;p&gt;RETURN&lt;/p&gt;
&lt;p&gt;I just did a select because I didn&#039;t feel like typing to much, but the same methodology can be used for inserts/updates/deletes.&lt;/p&gt;
&lt;p&gt;I have never used (or heard of) ioAction &amp;amp; ioMessage, I&#039;ll have to check out that article.&lt;/p&gt;
 </description>
     <pubDate>Thu, 15 Nov 2001 14:28:33 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1094008 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
