home *** CD-ROM | disk | FTP | other *** search
- teeMach, SL
- TeeChart-Pro
- =================
-
- Positionating the current record in Table or Query
- components after editing values.
- ---------------------------------------------------
-
- This example shows how to use a BookMark component
- (see Delphi help about BookMarking), and then use
- this bookmark to positionate the current record to
- the same record that was edited.
-
-
- This is useful when Series are connected to tables,
- and the user is allowed to modify records.
-
- When modified records are posted, TeeChart
- automatically refreshes all Series connected to that
- table.
-
- But, it doesn't preserves the current record position
- because when refreshing it's "too late" to obtain
- a bookmark.
-
- (Delphi provides bookmarks *before* the record is edited)
-
- The example uses the Table OnBeforeEdit and OnAfterPost
- events to create and reuse the "bookmark".
-
- ----------------------------------------------------------------