Connects database numeric or BLOB fields and TVec objects.
The TMtxDataset component connects database numeric or BLOB fields and TVec objects. Then you can pass VecColumns.Items[i].Vector TVec objects to other MtxVec procedures/functions/methods.
How to use TMtxDataset component?
1. Drop a TMtxDataset component on the form. 2. Place any TDataSet descendant on the form (TTable, TQuery, TIBTable, ...). Then define the TDataSet properties (table name, etc...), 3. Connect the TMtxDataset and TDataSet by setting the TMtxDataset::Dataset property. 4. Click on TMtxDataset.VecColumns property => add as many TVecColumn objects as you want. 5. Connect each TVecColumn to a specific field in dataset. Define the ReadWriteMode for each VecColumn. 6. At runtime, call the TMtxDataset::ReadDataset method to read all values from dataset. The results are stored in VecColumns.Items[i].Vector. Alternatively, you can do the TMtxDataset::ReadDataset method for individual fields (TMtxDataset.VecColumns.Items[i].ReadDataset).