Attribute VB_Name = "tokopenapi" Option Explicit Public Enum TOKOPEN_FIELDS FolderIDX1 = 1 FolderIDX2 = 2 FolderIDX3 = 3 FolderIDX4 = 4 FolderIDX5 = 5 FolderIDX6 = 6 FolderIDX7 = 7 FolderIDX8 = 8 FolderIDX9 = 9 FolderIDX10 = 10 DocumentIDX1 = 11 DocumentIDX2 = 12 DocumentIDX3 = 13 DocumentIDX4 = 14 DocumentIDX5 = 15 DocumentIDX6 = 16 DocumentIDX7 = 17 DocumentIDX8 = 18 DocumentIDX9 = 19 DocumentIDX10 = 20 FolderDATA1 = 21 FolderDATA2 = 22 FolderDATA3 = 23 FolderDATA4 = 24 FolderDATA5 = 25 FolderDATA6 = 26 FolderDATA7 = 27 FolderDATA8 = 28 FolderDATA9 = 29 FolderDATA10 = 30 folderdescription = 31 documentdescription = 32 the_owner = 33 foldercreatedate = 34 documentcreatedate = 35 doc_version = 36 doc_doctype = 37 folder_parent = 38 'Used to indicate parent of sub folder, used NOTEX field web_publishing = 39 numpages = 40 'docmain.numpages docmainproperties = 41 'docmain.properties medianumber = 42 'list documents on a particular media doc_copyid = 43 checkout_user = 248 drawername = 249 mediatype = 250 '1=online, 2=nearline HitCount = 251 '(253 in PB mode) Hit Count on text searches versionsof = 252 'Used to list all versions of a specific document theownerType = 253 unique_docid = 254 'For searching on documents unique_folderid = 255 'For searching on known folders drawerid = 256 'DrawerID End Enum Public Enum TOKOPEN_CONDITIONS EqualTo = 1 LessThan = 2 GreaterThan = 3 StartsWith = 4 EndsWith = 5 contains = 6 SoundsLike = 7 'For futures only. LessOrEqual = 8 GreaterOrEqual = 9 empt = 10 notempt = 11 Between = 12 'Between 2 values NotEqual = 13 'not a particular value End Enum Public Enum TOKOPEN_FIELDTYPE isaCharacter = 1 'C isaBoolean = 2 'B isaDate = 3 'T isaNumber = 4 'N isaCurrency = 5 'U isaSelection = 6 'S isaUserDomain = 7 'L End Enum Public Enum TOKOPEN_DOCCLASS Application = 0 'ie Word document Image = 1 'ie TIFF File Container = 2 'ie A Folder NotSupported = 3 'ie Deleted......... End Enum Public Enum DOCTYPE_PROPERTY DOCTYPE_DEFREADONLY = 1 End Enum Public Enum DOCUMENT_PROPERTY document_readonly = 1 document_checkedout = 2 End Enum Public Enum STORAGE_LOCATION media_online = 1 media_nearline = 2 End Enum Public Enum TOKOPEN_VIEWTYPE locate_folder = 0 locate_document = 1 single_folder = 2 system_special = 3 explorer_folder = 4 explorer_drawer = 5 End Enum