Drawer

The TOKOPEN_DRAWER object defines the properties of each drawer. The most commonly used property is the Structure which determines what index fields have been defined for a drawer.

 TOKOPEN_DRAWER

 Structure As TOKOPEN_CRITERIALIST  
     Used to determine the indices for the drawer. 

 AccessList As TOKOPEN_ACLLIST  
     Used to determine which users / groups have access to the Drawer. 

 Workflows As TOKOPEN_WORKFLOWS  
     Lists the workflow definitions for the drawer. 

 AppendImages As Boolean
     True if pages are to be appended to existing images, False to create new Docs.

 InUsersViewList As Boolean
     Determines if the drawer is one of the users perferred drawers.

 Drawerid As Long
     Indicates the unique drawer number used by TokOpen in the Database.

 DrawerName As String
     Indicates the name of the Drawer, i.e. 'Accounts'

 AllowedAccess As Boolean
     True if current logged in user has access to the drawer.

 Hidden As Boolean
     Indicates if drawer should be hidden from the user interface (Batches / Deleted drawers).

See Also:-

 TOKOPEN_DRAWERLIST

Example Code :-