CDO$HELP.HLB  —  CDO Commands, DELETE  RECORD
    Format

      DELETE  RECORD  [ qualifier ] ...   record-name ,... .

1  –  Parameters

1.1  –  record-name

    Specifies the record element you are deleting.

2  –  Qualifiers

2.1    /DESCENDANTS

    Format options:

       /DESCENDANTS
       /NODESCENDANTS (default)

    Specifies whether CDO deletes children. When you specify the
    /DESCENDANTS qualifier, and your record element is controlled,
    CDO deletes all children that are not also children of additional
    elements outside the area defined by your top collection. If the
    record element is uncontrolled, CDO deletes all children that are
    not also children of other elements.

2.2    /LOG

    Format options:

       /LOG
       /NOLOG (default)

    Specifies whether CDO displays text confirming that the record
    element is deleted.

3  –  Description

    The DELETE RECORD command deletes a record element from a CDO
    repository.

    If the record element is controlled, CDO freezes previous
    versions and allows you to delete only the highest visible
    version. If the record element is uncontrolled, CDO deletes the
    highest version unless you specify another version number.

4  –  Examples

  CDO>  DELETE RECORD /DESCENDANTS CUSTOMER_ORDERS.

      In this example, the DELETE RECORD command with the
      /DESCENDANTS qualifier deletes the CUSTOMER_ORDERS record
      element and children.
Close Help