IBX.IBCustomDataSet.TIBCustomDataSet.ParamCheck

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParamCheck: Boolean read FParamCheck write FParamCheck;

C++

__property bool ParamCheck = {read=FParamCheck, write=FParamCheck, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBCustomDataSet

Description

Specifies whether the parameter list for a query is regenerated if the SQL property changes at runtime.

Set ParamCheck to specify whether the Params property is cleared and regenerated if an application modifies the SQL in this dataset's query. By default ParamCheck is true, meaning that the Params property is automatically regenerated at runtime. When ParamCheck is true, the proper number of parameters is guaranteed to be generated for the current SQL statement.

This property is useful for data definition language (DDL) statements that contain parameters as part of the DDL statement that are not parameters for the TIBCustomDataSet. For example, the DDL statement to create a stored procedure may contain parameter statements that are part of the stored procedure. Set ParamCheck to false to prevent these parameters from being mistaken for parameters of the TIBCustomDataSet executing the DDL statement.