Setting the DATA or IDATA Field

When you set the DATA or IDATA field, use the appropriate type of data (character string for CHAR or VARCHAR, integer for INTEGER, and so on).

If any value other than DATA is set, the value of DATA is undefined. You cannot set the DATA or IDATA field for an item without setting TYPE for that item. If you set the TYPE field for an item to a character type, you must also set the LENGTH field. If you do not set the LENGTH field for a character item, you receive an error.