Programming Guide |
Traverses the transaction tree in insert order
int sm_tm_command ("WALK_INSERT [tableViewName
[tableViewScope
] ]");
tableViewName
- The name of a table view in the current transaction. This parameter is case sensitive.
If
tableViewName
is specified, the command is applied according to thetableViewScope
parameter. Since the entire table view tree might not be included, this is known as a partial command, andsm_tm_command
setsTM_FULL
to0
.If
tableViewName
is not specified, the command is applied for each table/server view, starting with the root table view. This is known as a full command, andsm_tm_command
setsTM_FULL
to1
.tableViewScope
- One of the following parameters, which must be preceded by a table view name.
TV_AND_BELOW
which applies the command to the specified table view and all table views below it on the tree. If no parameter is specified, the transaction manager acts as thoughTV_AND_BELOW
was supplied.
BELOW_TV
which applies the command to the table views below the specified table view.
TV_ONLY
which applies the command to the specified table view only.
SV_ONLY
which applies the command only to the table views of the specified server view.
WALK_INSERT
performs a traversal of the transaction tree, using the Insert Order property in the link widgets to determine the traversal order. If a table view's transaction event function contains processing for theTM_WALK_INSERT
request event, it is executed.
A
TM_WALK_INSERT
request event is generated by theWALK_INSERT
command, but no processing is associated with this event in the transaction models.