Show: Delphi C++
Display Preferences

Data.Win.ADODB.TCustomADODataSet.Prepared

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Prepared: Boolean read GetPrepared write SetPrepared default False;

C++

__property bool Prepared = {read=GetPrepared, write=SetPrepared, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

Description

Specifies whether the command is prepared before execution.

Set Prepared before calling the Open method to specify whether ADO prepares the command used to create the dataset’s recordset.

If Prepared is set to True and the dataset component is connected to a data store, ADO prepares the command before executing it. This implies keeping the parameters' part of the query command in a separate buffer for fast future access, avoiding the insertion of the query parameters into the command each time.

If Prepared is set to False, ADO does not prepare the command.

The default value of Prepared is False.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance