Data.DB.TDataSet.SparseArrays

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SparseArrays: Boolean read FSparseArrays write SetSparseArrays;

C++

__property bool SparseArrays = {read=FSparseArrays, write=SetSparseArrays, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Determines whether a unique TField object is created for each element of an array field.

When opening a dataset with an array field, SparseArrays determines whether a unique field component is created for each element of the array field. The default is false, where a TField descendant is created for each element of the array field. If you plan to bind data-aware controls to elements of the array field, SparseArrays must be set to false. Setting SparseArrays to true conserves memory, but does not allow applications to reference individual elements of the array field.

See Also