CDO$HELP.HLB  —  fld-properties  ARRAY  Examples
    1.CDO>  DEFINE FIELD SUPPLIER
      cont>   ARRAY 0:19 1:4
      cont>   DATATYPE IS TEXT
      cont>   SIZE IS 30 CHARACTERS.

      In this example, the DEFINE RECORD command includes an ARRAY
      property that declares 20 instances of the SUPPLIER field
      element (from 0 to 19). Each instance is four 30-character
      strings.

    2.CDO>  DEFINE RECORD SUPPLIER_REC
      cont>   ROW_MAJOR ARRAY 1:20.
      cont> END RECORD.

      In this example, the DEFINE RECORD command includes an ARRAY
      property that creates the SUPPLIER_REC record element as an
      array.

    3.CDO>  CHANGE RECORD SUPPLIER_REC.
      cont>   NOARRAY.
      cont> END RECORD.

      In this example, the CHANGE RECORD command includes a NOARRAY
      property that removes the ARRAY property from the SUPPLIER_REC
      record element.
Close Help