CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 1999
    Posts
    24

    Access Stored Procedure in ADO



    Need Help to access Stored Procedure in ADO.


    I use ADO to connect to ODBC data source (OLE DB Provider for Visual Foxpro).Try to call a stored procedure in this data base but a Visual Basic raise an error.

    Please help me to solve this problem as well as help me call a stored procedure in Visual Foxpro database throught ODBC (use ADO)


    Thanks in advance.

    Cuong.

  2. #2
    Join Date
    Apr 1999
    Location
    Cambridge University, U.K.
    Posts
    10

    Re: Access Stored Procedure in ADO



    there is command object in ADO I think you know. set the property of commandtype to "adCmdStoredProc", and of course, you must have it available in your database.


    regards


    George

  3. #3
    Join Date
    Jan 1999
    Posts
    24

    Re: Access Stored Procedure in ADO



    Thank George.


    I had tried doing it, but it just works on SQL Server DataBase.


    H.Q. Cuong




  4. #4
    Join Date
    Apr 1999
    Location
    Cambridge University, U.K.
    Posts
    10

    Re: Access Stored Procedure in ADO



    I am working on MS SQL , don't know others.


    I think it should be fine with lots of DB out there. If you want, send me detail and code.


    regards


    George

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured