Property: DataSource

Links the TDBBarcode2D component to the dataset that contains the field it represents.


property DataSource: TDataSource;


Use DataSource to specify the data source component through which the data from a dataset component is provided to the TDBBarcode2D component. To fully specify a data field for the TDBBarcode2D component, both the dataset and a field within that dataset must be defined. Use the DataField property to specify the particular field within the dataset.

You can bind multiple TDBBarcode2D components to one data field in order to represent the data field with multiple barcode symbols.