Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Parameter refresh error (Delphi & Oracle OLE DB)

97720Sep 8 2004
Hello,

I'm using Delphi 7 and connecting via ADO 2.8 to a stored procedure in oracle via OLE DB 8.1.7. Provider: Oracle Provider for OLE DB.

I want to retrieve the parameters from the procedure but that isn't working. When i use the Microsoft provider: Microsoft OLE DB Provider for Oracle.
'Provider cannot derive parameter information and SetParameterInfo has not been called'

This is my Delphi Code:

FADOStoredProc := TADOStoredProc.Create(Self);
FADOStoredProc.Connection := ADOConnection1;
FADOStoredProc.LockType := ltReadOnly;
FADOStoredProc.CursorType := ctStatic;
FADOStoredProc.ProcedureName := 'TestProc';
FADOStoredProc.Prepared := True;
FADOStoredProc.Parameters.Refresh;

Why is this happening? What am i forgetting?

Thx for the input

Paul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2004
Added on Sep 8 2004
0 comments
1,036 views