The Document Types are defined by the DocTypes collection in the TOKOPEN_ENVIRONMENT. The collection is a collection of TOKOPEN_DOCTYPE objects.
TOKOPEN_DOCTYPELIST
Count as Long
Read Only, indicates how many document types are defined.
Item(vntIndexKey As Variant) As TOKOPEN_DOCTYPE
References one of the Document type objects, in the rage 1..Count
Add(Optional sKey As String) As TOKOPEN_DOCTYPE
Advanced use only, can be used to Add document types to TokOpen.
Refresh
Forces TokOpen to rebuild the DOCTYPELIST collection from the Database.
Contains( anitem as Variant ) as Boolean
Indicates if a document type number is defined in TokOpen
See Also:-
Example Code :-