JVCL Help:TJvCustomAppDBStorage

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomAppDBStorage
TJvAppDBStorage
run\JvAppDBStorage.pas


Summary

Storage component that reads and writes to a dataset.

run\JvAppDBStorage.pas


Pascal

 run\JvAppDBStorage.pas
 TJvCustomAppDBStorage = class(TJvCustomAppStorage);


Description

TJvCustomAppDBStorage is a data storage backend that reads and writes the data to a dataset.
As a descendant of TJvCustomAppStorage it provides the standard interface for storing data (such as settings, form positions and sizes, etc) in a dataset.
The component introduces and publishes several new properties: DataSource, to indicate the dataset used for storage, SectionField, KeyField and ValueField that indicates the fields in the dataset to use to read and write the data.
A dataset used with TJvCustomAppDBStorage must be updateable (i.e not readonly), support the TDataSet.Locate standard search method and support bookmarks. Although not required, it is recommended (if possible) to create an index on the fields used for the section and key name (SectionFiald and KeyField, respectively).

run\JvAppDBStorage.pas


About

Navigation

run\JvAppDBStorage.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page