DBBaseContext :: doBeforeSelect - Before select handler
The before select event handler is called before reading an instance (DBP_Select event). The handler can be used to deny read access by returning an error ( any value >0 ) or changing the visibility property to false (visible(false)).
The handler can be overloaded in specialized property 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.