RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXCommand.Prepare Method

Prepare the command for execution

Pascal
procedure Prepare; virtual;
C++
virtual __fastcall Prepare();

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!