Data.DBXCommon.TDBXMorphicCommand.Prepare

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXMorphicCommand

Delphi

procedure Prepare; override;

C++

virtual void __fastcall Prepare();

Description

Prepare the command for execution

Data.DBXCommon.TDBXMorphicCommand.Prepare inherits from Data.DBXCommon.TDBXCommand.Prepare. All content below this line refers to Data.DBXCommon.TDBXCommand.Prepare.

Prepare the command for execution

This method prepares the command for execution.

If no parameters have been set up, the driver supports parameter metadata and the dynamic SQL statement contains parameters, Prepare sets up the command's parameters.

Note: Prepare must be called before calling any of the TDBXCommand Execute methods.