Top Method Summary
Options Name Purpose
AddTable (handle, character) Takes a snapshot of the current contents of the given temp-table
CHARACTER KeyWhereClause (handle, character, character) Returns a where clause matching the key field values of the record currently available in the given buffer
RejectNoopRowChanges (handle, handle) Rejects the tracked change of the given record when its current field values equal the before-image values
LOGICAL RejectTrackedDelete (handle, handle, character) Rejects a tracked delete of the record matching the snapshot record, restoring the deleted record from the before-image
RestoreTable (handle, handle, character) Restores the snapshot of a single temp-table
Undo () Reverts the change represented by this designer action by restoring the temp-table snapshots

Top Constructor Summary
Options Name Purpose
TempTableSnapshotDesignerAction (character) Constructor for the TempTableSnapshotDesignerAction class

Top Property Summary
Options Name Purpose
CHARACTER Description


Method Detail
Top

AddTable (handle, character)

Purpose: Takes a snapshot of the current contents of the given temp-table
Notes: Must be invoked before the change represented by this action
is applied to the temp-table

Parameters:
phBuffer HANDLE
The handle of a buffer of the temp-table to snapshot
pcKeyFields CHARACTER
Comma-delimited list of fields that uniquely identify a record of the temp-table
Top

CHARACTER KeyWhereClause (handle, character, character)

Purpose: Returns a where clause matching the key field values of the
record currently available in the given buffer
Notes:

Parameters:
phValueBuffer HANDLE
The handle of the buffer providing the key field values
pcKeyFields CHARACTER
Comma-delimited list of key fields
pcTargetTable CHARACTER
The name of the table the where clause is built for
Returns CHARACTER
The where clause matching the key field values
Top

RejectNoopRowChanges (handle, handle)

Purpose: Rejects the tracked change of the given record when its current
field values equal the before-image values
Notes: Avoids that a record restored to its original values remains
flagged as a pending (no-op) modification

Parameters:
phBuffer HANDLE
The handle of the buffer positioned on the record to test
phBeforeBuffer HANDLE
The handle of a buffer of the before-table (may be invalid)
Top

LOGICAL RejectTrackedDelete (handle, handle, character)

Purpose: Rejects a tracked delete of the record matching the snapshot
record, restoring the deleted record from the before-image
Notes: Preferred over recreating the record, so undoing a delete
leaves no pending change behind

Parameters:
phSnapshotBuffer HANDLE
The handle of the buffer positioned on the snapshot record to restore
phBeforeBuffer HANDLE
The handle of a buffer of the before-table (may be invalid)
pcKeyFields CHARACTER
Comma-delimited list of key fields
Returns LOGICAL
Logical value indicating if a tracked delete was rejected
Top

RestoreTable (handle, handle, character)

Purpose: Restores the snapshot of a single temp-table
Notes: Updates changed records, recreates deleted records and deletes
records created since the snapshot was taken

Parameters:
phSourceTable HANDLE
The handle of the temp-table to restore
phSnapshotTable HANDLE
The handle of the snapshot temp-table
pcKeyFields CHARACTER
Comma-delimited list of key fields
Top

Undo ()

Purpose: Reverts the change represented by this designer action by
restoring the temp-table snapshots
Notes:



Constructor Detail
Top

TempTableSnapshotDesignerAction (character)

Purpose: Constructor for the TempTableSnapshotDesignerAction class
Notes:

Parameters:
pcDescription CHARACTER
The description of the action to be undone


Property Detail
Top

CHARACTER Description


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.07.2026 16:14:08