I have the following Oracle Stored Procedure;
I have the following VB6 code;
When execute this code, I get the following error;
Error Message: [Microsoft][ODBC driver for Oracle][Oracle]ORA-06550: line 1, column 46:
PLS-00201: identifier 'LNGRETURN' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ODBC--call failed.
I have to use the DAO Object Model - it would be too expensive to use ADO instead.
How do I get the value for the returned parameter in my application ?
Code:
Create or Replace Procedure CHECK_ACCOUNT_NO
(SortCode In Char,
Account_Check In Char,
Check_Ind Out Number)
As
Begin
.
(Code which sets Check_Ind to 0 or 1)
;
End;
Code:
Dim LNGRETURN As Long
strSQL = "BEGIN CHECK_ACCOUNT_NO _
('SORTCD', 'ABCDEFGH', LNGRETURN); End;"
Db.Execute strSQL, dbSQLPassThrough
Error Message: [Microsoft][ODBC driver for Oracle][Oracle]ORA-06550: line 1, column 46:
PLS-00201: identifier 'LNGRETURN' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ODBC--call failed.
I have to use the DAO Object Model - it would be too expensive to use ADO instead.
How do I get the value for the returned parameter in my application ?