![]() | Programming Guide | ![]() |
Changes the transaction manager to view mode
int sm_tm_command ("COPY_FOR_VIEW");
COPY_FOR_VIEWmakes 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 aSAVEcommand.Push buttons and menu selections for the
COPY_FOR_VIEWcommand can choose to set the class property tocontinue_button. By default,continue_buttonis active in view or update modes.
COPY_FOR_VIEWis available after any command.
The following requests can be generated by the
COPY_FO+R_VIEWcommand 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)
![]()
![]()
![]()
![]()