Data filtering.................................................................................................................... 36
Filtering......................................................................................................................... 36
Filtered, FilterOptions, FilterGroup, OnFilterRecord............................................... 37
To filter or not to filter.................................................................................................. 38
Searching for data........................................................................................................... 38
Locate............................................................................................................................ 39
Lookup .......................................................................................................................... 39
Indexing .................................................................................................................... 40
Seek............................................................................................................................... 40
ADO Cursors................................................................................................................... 41
Cursor?!......................................................................................................................... 42
CursorType ................................................................................................................... 42
CtDynamic ................................................................................................................ 43
CtKeyset.................................................................................................................... 43
CtStatic...................................................................................................................... 43
ctForward-only.......................................................................................................... 43
CursorLocation ............................................................................................................. 43
LockType ...................................................................................................................... 44
LtOptimistic .............................................................................................................. 44
LtPessimistic............................................................................................................. 45
LtReadOnly............................................................................................................... 45
LtBatchOptimistic..................................................................................................... 45
From Paradox to Access with ADO and Delphi........................................................... 45
Data definition language............................................................................................... 45
TFieldDef.DataType ................................................................................................. 46
ADOX........................................................................................................................... 46
TADOCommand........................................................................................................... 47
GUI ........................................................................................................................... 48
Code .............................................................................................................................. 48
Master detail relationships............................................................................................. 50
MS Access relationships............................................................................................... 51
Customers-Orders relation........................................................................................ 51
Setting up Master/Detail with ADOExpress................................................................. 52
MasterSource and MasterFields................................................................................ 53
ADO Shaping................................................................................................................ 54
New...Access Database from Delphi .............................................................................. 54
ADOX........................................................................................................................... 55
aboutdelphi.mdb........................................................................................................ 55
The Delphi Project .................................................................................................... 56
New...Database ............................................................................................................. 56
Add table, create index, set referential integrity........................................................... 57
Charting with Databases ................................................................................................ 59
TeeChart........................................................................................................................ 59
Let's chart! – Prepare ................................................................................................ 59
Let's chart! – Connect ............................................................................................... 61
Chart tab.................................................................................................................... 61