IBX.IBCustomDataSet.TIBDataSet.Params

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Params: TIBXSQLDA read GetSQLParams;

C++

__property Params;

Properties

Type Visibility Source Unit Parent
property public
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBDataSet

Description

Specifies the parameters to use for any parameterized queries.

IBX.IBCustomDataSet.TIBDataSet.Params inherits from IBX.IBCustomDataSet.TIBCustomDataSet.Params. All content below this line refers to IBX.IBCustomDataSet.TIBCustomDataSet.Params.

Specifies the parameters to use for any parameterized queries.

Use Params to set up the parameters for the SQL object specified by the QSelect property. Params is the same as the SQLParams property.

For example:

 DataSet1.Params[0].AsInteger := 24;   //Delphi
 DataSet1.Params.ByName['Field2'].AsString := 'foo';
 DataSet1->Params->Items[0]->AsInteger = 24;   //C++
 DataSet1->Params->ByName["Field2"]->AsString = "foo";