Detailed Descriptions > XTREE > XTEXT Parameters > coldef > cformat

Application-editable only

Updated and reviewed January 2011

cformat switch:  U

This designation may be added to an editable text column (type E, Column contains editable text) to cause the column to only be updatable by the application. In other words, this will make the column editable but not-editable. Possible reasons for using this format type include:

• You want to update the field when re-entering the tree with XTROP_REPLACE. (Only cells associated with the answer array are updated when re-entering with XTROP_REPLACE, and only editable cells are in the answer array.) The alternative would be to use XTROP_REPLACE when re-entering the tree, in which case all of the data cells can be updated, but the operation is less efficient.

• You want to use the same variable for both the answer and data arrays. (This requires that all fields be "editable".)