<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: @RETURN_VALUE from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/13798.aspx</link><pubDate>Fri, 14 Oct 2005 07:24:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13798</guid><dc:creator>bobstery</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13798.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13798</wfw:commentRss><description>That doesn't give an example of receiving parameters from stored procedures.&lt;br /&gt;&lt;br /&gt;I just get an error stating that Command.Parameters is invalid.</description></item><item><title>Re: @RETURN_VALUE from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/13797.aspx</link><pubDate>Fri, 14 Oct 2005 01:24:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13797</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13797</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Have you checked:&lt;a target="_blank" href=http://support.microsoft.com/?kbid=827007&gt;http://support.microsoft.com/?kbid=827007&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope that it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>@RETURN_VALUE from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/12623.aspx</link><pubDate>Thu, 13 Oct 2005 13:17:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12623</guid><dc:creator>bobstery</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12623.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12623</wfw:commentRss><description>I have the following code below, however I cannot access the @RETURN_VALUE of the stored procedure, any ideas:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;XDocument.QueryAdapter.Command.Parameters.Append(XDocument.QueryAdapter.Command.CreateParameter("@RETURN_VALUE",3,4));&lt;br /&gt;&lt;br /&gt;XDocument.QueryAdapter.Command = "execute createPickup '" + driverName + "','" + registration + "'";&lt;br /&gt;&lt;br /&gt;XDocument.Query();&lt;br /&gt;&lt;br /&gt;XDocument.UI.Alert(XDocument.QueryAdapter.Command.Parameters("@RETURN_VALUE").text);&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Many Thanks</description></item></channel></rss>