Programming Guide |
Changes the transaction manager to view mode
int sm_tm_command ("COPY_FOR_VIEW");
COPY_FOR_VIEW
makes view the current mode. After you selectCOPY_FOR_VIEW
, the transaction manager disables before image processing. Changes to the data currently on the screen no longer generate updates to the data base with aSAVE
command.Push buttons and menu selections for the
COPY_FOR_VIEW
command can choose to set the class property tocontinue_button
. By default,continue_button
is active in view or update modes.
COPY_FOR_VIEW
is available after any command.
The following requests can be generated by the
COPY_FO+R_VIEW
command to as certain whether the changes from the previous command have been saved and, if desired, discard those changes:
TM_PRE_CLOSE
(described underCLOSE
)
TM_CLOSE
(described underCLOSE
)
TM_QUERY
(described underCLOSE
)
TM_DISCARD
(described underCLOSE
)
TM_POST_CLOSE
(described underCLOSE
)