Reading and Writing Ecco Data
Use the EccoItem object to represent a particular Ecco item. This object contains numerous properties, most of which can be both read and written. These properties include:
Text properties representing the built-in Ecco folders, e.g. BusAddr1, FaxPhone, Company.
MyItem.Company = Text1.Text
Special text properties representing the item text, e.g. Text, FullName, LastName, FirstName.
Date properties representing built-in Ecco folders, e.g. DueDate, StartTime, Done.
MyItem.Done = Now
Boolean properties representing whether an item is contained in a particular folder, e.g. PhoneBook.
If MyItem.PhoneBook = True then Print #1, MyItem.FullName
Properties that return other EccoItem objects, e.g.
Parent or TLI (you can also
write to the Parent property to assign an item to be a subitem of another item),
or EccoItems collections, e.g. Subs.
Use the With structure to access multiple properties at once:
With MyItem .Company = CompanyText.Text .BusPhone = PhoneText.Text .Text = ItemText.Text Print #1, .FullName, .FaxPhone End With