R rakgol_a Member² Aug 27, 2002 #1 Hi, I CBuilder; what is the syntax to use with OraclePackage to call a stored procedure that doesn't take any parameters? Sample code will do thanx...
Hi, I CBuilder; what is the syntax to use with OraclePackage to call a stored procedure that doesn't take any parameters? Sample code will do thanx...
Marco Kalter Administrator Staff member Aug 27, 2002 #1 You can use parNone as a parameter. Unfortunately C++Builder is not as flexible as Delphi with open array parameters, so you have to do something like this: Code: { Variant Params[] = {parNone}; MyPackage->CallProcedure("MyProcedure", EXISTINGARRAY(Params)); } Click to expand... ------------------ Marco Kalter Allround Automations
You can use parNone as a parameter. Unfortunately C++Builder is not as flexible as Delphi with open array parameters, so you have to do something like this: Code: { Variant Params[] = {parNone}; MyPackage->CallProcedure("MyProcedure", EXISTINGARRAY(Params)); } Click to expand... ------------------ Marco Kalter Allround Automations