Показать сообщение отдельно
Старый 24.11.2003, 18:35     # 2
someone312002
Junior Member
 
Регистрация: 17.12.2002
Адрес: [EST], Tallinn
Сообщения: 120

someone312002 Путь к славе только начался
Уж не знаю, как там это у АДО, но у ДОА это реализуется через TOraclePackage компонент. Подробнее может тебе объяснить только DOA.HLP файл
Звиняй за "Copy-->Paste", но объяснение здесь. Вообще для ораклевича лучше пользовать ДОА (это моё мнение)...

To make access to functions, procedures, variables and constants in a package as easy as possible, Direct Oracle Access offers the TOraclePackage component. You only need to set the Session property, specify the name of the package in the database, and you are ready to use it. No additional definitions are required for the objects inside the package. To call procedures or functions, you can simply use the CallProcedure and Call...Function methods. To access variables or constants, you can use the SetVariable and Get...Variable methods.


Declaration

function GetParameter(const ParameterId: Variant): Variant;

Description

Retrieves the value of an out or in/out parameter after a procedure or function call. The index is the zero-based position of the parameter. If you are using a named parameter mode, you can also specify the name of the parameter.

In Delphi 4 or later this function is overloaded and accepts the index or name of the parameter.
__________________
"я не волшебник - я только учусь..." (c)
...а зовут меня Олег...

Последний раз редактировалось someone312002; 24.11.2003 в 18:38.
someone312002 вне форума