DtvLong dal_exi_dtv ()
Exits DataView correctly from within a userexit.
Before dal_exi_dtv can finally leave DataView, the following actions and checks are performed:
- Checks whether you created your own user-defined userexit EXIT
and executes its functions. If this userexit returns an error, dal_exi_dtv
will be cancelled and the original state of the program will be restored.
- Call of the EXIT functions of all C/C++libraries registered in T_FUNCTION.
- Deletes all opened widgets and executes the post_mask-triggers defined at
the widgets.
- Removes record locks.
- Checks whether the trash-basket contains any records which are only temporarily
deleted. If this is true, a message appears.
- Checks whether you were in mask edit state
and manipulating a record before leaving DataView. If
this is true, a message appears.
- The screen content is deleted.
Attention!
If, for any reason, you want to leave DataView from within a self-defined application-specific userexit, you will have to apply the dal_exi_dtv userexit as sub-routine in order to exit DataView in a controlled way.
Copyright (c) 2004-2008 Macrobject Software, All Rights Reserved.
You can change this copyright message in the "Template Settings" dialog.