DBBaseContext :: doBeforeReopen - Before reopen handler
The before reopen handler is called when reopening the context (DBP_Reopen event). The before reopen handler may deny reopening the context by returning an error ( any value >0 ). In this case the property remains unchanged, i.e. the old property is still opened in the handle.
The handler can be overloaded in specialized property and type context class implementations.
Return value: Execution error ( int32 )
The value is usually returned from context functions or actions in order to report the result of execution. The variable may contain following values:
- -1: function/action not executed
- 0: function executed normally
- 1-9: Function executed with errors. Error codes depend on the function/action called.