@RETURN_VALUE from stored procedure - InfoPath Dev
in

InfoPath Dev

@RETURN_VALUE from stored procedure

Last post 10-14-2005 12:24 AM by bobstery. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-13-2005 06:17 AM

    @RETURN_VALUE from stored procedure

    I have the following code below, however I cannot access the @RETURN_VALUE of the stored procedure, any ideas:

    XDocument.QueryAdapter.Command.Parameters.Append(XDocument.QueryAdapter.Command.CreateParameter("@RETURN_VALUE",3,4));

    XDocument.QueryAdapter.Command = "execute createPickup '" + driverName + "','" + registration + "'";

    XDocument.Query();

    XDocument.UI.Alert(XDocument.QueryAdapter.Command.Parameters("@RETURN_VALUE").text);


    Many Thanks
  • 10-13-2005 06:24 PM In reply to

    Re: @RETURN_VALUE from stored procedure

    Hi,

    Have you checked:http://support.microsoft.com/?kbid=827007

    Hope that it helps.

    Regards,

    Franck Dauché
  • 10-14-2005 12:24 AM In reply to

    Re: @RETURN_VALUE from stored procedure

    That doesn't give an example of receiving parameters from stored procedures.

    I just get an error stating that Command.Parameters is invalid.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.