Results 1 to 2 of 2

Thread: Executing Store Procedure

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Nigeria
    Posts
    66

    Question Executing Store Procedure

    Fellow
    I have a ADO Connection and a Store procedure to be assign to a recordset.
    I have my code Thus:

    Dim sybconn as New ADODB.Connection
    Dim rstproc as New ADODB.Recordset


    Sybconn.Open "oracon",UID,PWD
    set rstproc.Activeconnection = sybconn

    Sybconn.Execute "Name of the store procedure"
    set rstproc = sybconn.execute"......"

    This is the code in summary. it is returninig and error.


    What I want to do is that I want to execute a store procedure and get the field using a recordset.

    Waiting for your feed back

  2. #2
    Hyperactive Member buddu's Avatar
    Join Date
    Jul 2001
    Location
    India
    Posts
    446
    Hi omodara!
    Please post the error message that you are receiving.
    prasad

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