Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call oracle prodecure from ms access 97

Status
Not open for further replies.

manutektips

Programmer
Sep 8, 2003
11
GB
Hi,
I have an oracle prodecure which has 6 input parameters and 1 output parameter.
The definition of the procedure is :

CREATE OR REPLACE PROCEDURE terr_insert (
terrid IN NUMBER DEFAULT NULL,
terrversion IN NUMBER DEFAULT NULL,
terr IN VARCHAR2 DEFAULT NULL,
reprative IN NUMBER DEFAULT NULL,
verate IN DATE DEFAULT NULL,
iss IN VARCHAR2 DEFAULT NULL,
rc1 OUT globalpkg.rct1
)

where the globalpkg.rct1 is a cursor.

I am calling this procedure from ms access application as

Qsql$ = "{ call Terr_Insert( " & sql$ & ") }"
Set qdfOra = conISQM.CreateQueryDef("", Qsql$)
Set ResultSet = qdfOra.OpenRecordset()

where
sql$=95, Null, 'Vauxhall - ROW', 0, Null, 'manager'

The execution of this is giving some error. Please help

regards,

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top