Documents in TokOpen are stored in pre-defined storage locations known as Media. Media can a related to document types, allowing each document type to be stored and managed under a different set of rules.
The Media are defined by the Media collection in the TOKOPEN_ENVIRONMENT. It is a collection of TOKOPEN_MEDIA objects.
TOKOPEN_MEDIALIST
Count as Long
Read Only, indicates how many media are defined.
Item(vntIndexKey As Variant) As TOKOPEN_MEDIA
References one of the Media type objects, in the range 1..Count
Refresh
Forces TokOpen to rebuild the MEDIALIST collection from the database.
Contains (anitem as Variant) as Boolean
Inidicates if TokOpen supports the specified media number.
See Also:-
Example Code :-