Modify C fields
The C-Field contains a character having four states: Present, Absent, Variable or unknown, which are displayed respectively as ‘yes’, ‘no’, ‘variable’ and ‘?’
Each C-Field can contain a list of such characters.
It is possible to modify either a C-Field completely, or only one of the subfields.
See XCField Class to find an example. The first loop in the example is changing a complete C-Field by setting to ‘unknown’ all subfields already set to ‘variable’.
For the C-Field and subfield, use code like this, with your own field names (partial code below).