Basics
—demonstrates basic use of the DBMSThis is an example of database manipulation using the DBMS.
Initially the database is created as a permanent file store,
using CFileStore
routines. A table ("CDs") is created with three
fields ("Artist", "Title" and "Price") and this is then indexed on the "Artist"
and "Title" fields.
To prove the correct action of the previous code, the example iterates through the database, printing the contents to the console. Finally, the database is closed and the example exits.
RDbView
RDbStoreDatabase
TDbCol
TDbKeyCol
CDbColSet
RDbRowSet
CDbKey
TParse
TStreamId
CFileStore