6. Working with Arrays, Table Fields, and Collections : Table Field Operations : How You Can Enable and Disable User Modifications to Table Field Data : How You Can Update Existing Data in a Table Field Row
 
Share this page                  
How You Can Update Existing Data in a Table Field Row
The CurBias attribute of a field in the table field determines whether a user can directly edit that field. A field can be edited if its CurBias is FB_CHANGEABLE. The CurBias of the field is determined by the CurMode of the frame and the biases of the table field, column fields, and protofield fields.
You can use the Property Inspector to initialize the biases for each column of a table field and for the table field itself. By default, when you create a table field, the bias is FB_CHANGEABLE for each frame mode except FM_READ. The default bias for the FM_READ mode is FB_LANDABLE.
Biases can be dynamically changed in OpenROAD by using the CurBias, UpdateBias, QueryBias, ReadBias, User1Bias, User2Bias, User3Bias, or AllBias attributes of FormField objects. For more information about biases and frame modes, see Creating Dynamic Frames (see Creating Dynamic Frames).
You can disable updates to the whole frame by setting CurMode to FM_READ. You can disable updates to the entire table field by setting the table field's bias to be a bias other than FB_CHANGEABLE. Or you could keep the table field's bias as FB_CHANGEABLE, and restrict a particular column by setting its bias to a bias other than FB_CHANGEABLE. For more information about CurBias, see the Language Reference Guide.