IBX.IBStoredProc.TIBStoredProc.ExecProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExecProc;

C++

void __fastcall ExecProc();

Properties

Type Visibility Source Unit Parent
procedure
function
public
IBX.IBStoredProc.pas
IBX.IBStoredProc.hpp
IBX.IBStoredProc TIBStoredProc

Description

Executes the stored procedure on the server.

Call ExecProc to execute a stored procedure on the server. Before calling ExecProc:

  1. 1 Provide any input parameters in the Params property. At design time, a developer can provide parameters using the Parameters editor. At runtime an application must access Params directly.
  2. 2 Call Prepare to bind the parameters.

If a stored procedure returns output parameters, they are stored in the Params property when ExecProc returns control to the application. An application can access the output parameters by indexing into the Params list, or by using the ParamByName method.