Return type:
Applies to:
ADD-NEW-FIELD ( field-name-exp , datatype-exp , extent-exp , format-exp, initial-exp , label-exp , column-label-exp )An integer expression specifying the extent of an array. If extent-exp is 0, 1 or the Unknown value (?), it is ignored.A character expression that evaluates to the data format for the defined data type. If format-exp is "" or the Unknown value (?), it is ignored and the default format of the specified data type is used.An expression that evaluates to the initial value of the defined field. initial-exp can be any compatible data type, but is usually character. If initial-exp is not entered, the default for the data type is used.An optional character expression that evaluates to the label of the defined field. If you do not specify a value, or you pass the Unknown value (?), label-exp defaults to the value of the field-name-exp parameter.An optional character expression that evaluates to the label of the column associated with the defined field. If you do not specify a value, or you pass the Unknown value (?), column-label-exp defaults to the value of the label-exp parameter (or the field-name-exp parameter, if the label-exp parameter is not specified).
tth:ADD-NEW-FIELD("abfield","char",0,,"abc").
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |