CDO$HELP.HLB  —  fld-properties  QUERY_HEADER
    Format

      QUERY_HEADER  IS  quoted-string ,...

1  –  Parameters

1.1  –  quoted-string

    Specifies the label you are using as a column heading.

2  –  Description

    The QUERY_HEADER field property creates a column heading for use
    in printouts and reports.

    The quoted string must be a valid column heading for the product
    that uses it. CDO accepts a text string of any length as a query
    header.

3  –  Examples

    1.CDO>  DEFINE FIELD TOTAL_PRICE
      cont>   DATATYPE IS UNSIGNED LONGWORD
      cont>   COMPUTED BY UNIT_PRICE * QUANTITY
      cont>   QUERY_HEADER IS "TOTAL PRICE".

      In this example, the QUERY_HEADER field property in the DEFINE
      FIELD command creates the TOTAL PRICE column heading for the
      TOTAL_PRICE field element.

    2.CDO>  CHANGE FIELD TOTAL_PRICE
      cont>   QUERY_HEADER IS "TOTAL".

      In this example, the CHANGE FIELD command changes the column
      heading in the TOTAL_PRICE field to TOTAL.

    3.CDO>  CHANGE FIELD TOTAL_PRICE
      cont>   NOQUERY_HEADER.

      In this example, the NOQUERY_HEADER keyword removes the QUERY_
      HEADER property from the TOTAL_PRICE field element.
Close Help