EccoFolder Properties
Read-only integer. Returns the number of items in the Ecco folder.
Read-only EccoFolder type. Returns the type of the Ecco folder, as one of the following:
fldCheck (=1) – a check (boolean) folder
fldDate (=2) – a date folder
fldNumber (=3) – a number folder.
fldText (=4) – a text folder.
fldPopup (=5) – a popup folder.
FindItems (FindText, [StartsWith])
Read-only EccoItems. Returns all Ecco items in the folder containing the specified text as part of the item text. If StartsWith=True, items are returned only if the item text starts with FindText.
Read-only EccoItems. Returns all Ecco items in the folder which contain FindText in the value for the specified folder. Note the following:
Folder can be specified as either an EccoFolder object, or as a folder ID. Folder names are not supported, as an Ecco file can have more than one folder with the same name. You can specify FullName, LastName, and FirstName to search those values.
The value supplied for FindText depends on the type of folder value being searched. When searching Date folders, you can specify either a date variant, a date constant (e.g. #12/31/2001#), or a string that is recognized as a date (e.g. "December 31, 2001"). When searching Boolean (Check) folders, specify either True or False, or a boolean variable. When searching numeric folders, specify either a valid numeric variable (integer, long, single, double) or a string representation of a number.
If the value is a boolean (check), date or number, this function will return only exact matches. If the value is a popup or string, this function will return partial matches (i.e. where the specified value is contained within the folder value).
You can apply multiple filter criteria by using the Find method of the returned EccoItems collection.
Read-write integer. Returns the unique ID number associated with an Ecco folder. Changing the value of this property causes the EccoFolder object to refer to a different Ecco folder.
Read-only EccoItems collection of all items in the specified folder. By default, this collection will be sorted alphabetically by the item text. However, you can use the SortValues method to have the collection sorted by the value in the folder.
Read-write text. Note that changing the value of this property does NOT cause the folder to be renamed, but causes the EccoFolder object to refer to a different Ecco folder.