You are here: Symbol Reference > MtxVecDBTools Namespace > Classes > TMtxDataset Class > published > TMtxDataset.VecColumns Property
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxDataset.VecColumns Property

A collection of TVecColumn.

Pascal
property VecColumns: TVecColumns;

VecColumns is a collection of TVecColumn, each of which provides connection between Dataset field and Vector vector. Use Add method to add new TVecColumn to the collection. Use Clear to clear all collection items. Use Delete to delete specific collection item. Check the Delphi help files for more on collection and collection items.

Connect MtxDataSet to Table1 and read complete vectors from two BLOB fields. 

 

procedure TForm1.FormCreate(Sender: TObject); begin MtxDataSet.Dataset := Table1; MtxDataSet.VecColumns.Clear; with MtxDataset.VecColumns.Add do begin FieldName := 'TimeAnalysis'; ReadWriteMode := wmRecord; end; with MtxDataset.VecColumns.Add do begin FieldName := 'FFTAnalysis'; ReadWriteMode := wmRecord; end; MtxDataSet.ReadDataset; end;
void __fastcall TForm1::FormCreate(TObject *Sender) { MtxDataSet->Dataset = Table1; MtxDataSet->VecColumns->Clear(); TVecColumn *col; col = MtxDataSet->VecColumns->Add(); col->FieldName = "TimeAnalysis"; col->ReadWriteMode = wmRecord; col = MtxDataSet->VecColumns->Add(); col->FieldName = "FFTAnalysis"; col->ReadWriteMode = wmRecord; MtxDataSet->ReadDataset(false); }
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!