Object Model > ValueItem Object, ValueItems Collection |
A ValueItem object is used to simplify data access for the user. It specifies an allowable input value for a given Column object, and can also be used to translate raw data values into alternate text or graphics for display. For example, you may want to display Balance Due and Paid in Full instead of the numeric data values 0 and 1.
Each Column object within a TDBList or TDBCombo control stores these items, if specified, in a ValueItems collection, which is accessed using the ValueItems property.