The TOKOPEN_CRITERIA object defines the properties of and index field, either the full definition of one within a drawer structure, or the required values for one as part of a search.
TOKOPEN_CRITERIA
FieldName as TOKOPEN_FIELDS
An enumerated alias for the field indicating which of the pre-defined fields it is.
FieldType as TOKOPEN_FIELDTYPE
An enumerated type indicating the data type for the field.
Condition as TOKOPEN_CONDITIONS
An enumerated type indicating the search condition ( Equal to, Greater etc... )
FieldTitle As String
The name by which the end user knows the field, i.e. 'Invoice Number'.
FieldValue As String
The current value of the field , or the desired value if searching.
MaxLength As Long
The maximum allowed length for string fields.
Format As String
How the field should be formatted for the end user, i.e. £###,000,000.00
DBFieldName As String
What the field is called in the database, i.e. FIELD00.
IsRequired As Boolean
Set to TRUE if the field is defined as required in the drawer structure.
DefaultValue As String
Any default that will be used when creating new documents / folders.
IsWorkflow As Boolean
Set to TRUE if the field can only be amened by a Workflow process.
DomainDescription As String
The name of the user defined field type (Domain), i.e. 'Colours'.
See Also:-
Example Code :-