TMtxDataset::ReadWriteMode Property

__property TReadWriteMode ReadWriteMode = {read = FReadWriteMode, write = SetReadWriteMode};

Defines how component will read/write values from/to dataset fields.

Read: TReadWriteMode FReadWriteMode;
Write: void SetReadWriteMode(const TReadWriteMode Value);
Remarks:

Defines how component will read/write values from/to dataset fields:

  • If dataset fields are valid BLOB fields then set the ReadWriteMode to wmRecord. The ReadDataSet and WriteDataSet will read/write all vectors properties from/to dataset fields.
  • If dataset fields are numeric fields then set the ReadWriteMode to wmColumn. In this case ReadDataSet and WriteDataSet will read/write all vectors values from/to dataset field.

NOTE: The ReadWriteMode does not actually check if dataset field type is correct. If you specify the wrong read/write mode an exception will be raised when you try to read/write from/to dataset.

Declared in Dew::Math::Controls::VCL::TMtxDataset · Dew.Math.Controls.VCL/MtxVecDBTools.h · C++Builder only