Format { quoted-string } QUERY_NAME IS { query-name } { }
1 – Parameters
1.1 – quoted-string
Specifies a string that is enclosed by quotation marks. DIGITAL DATATRIEVE only uses the string itself (not the quotation marks that enclose it) as the query name.
1.2 – query-name
Specifies a string that is not enclosed by quotation marks.
2 – Description
The QUERY_NAME field property provides an alternate name for a field element. Only DIGITAL DATATRIEVE supports this property. CDO accepts query names of up to 256 characters in length. Except for the quotation mark ("), comma (,), apostrophe ('), and embedded blanks, any characters in the Digital Multinational Character Set are valid in query names. Make sure the query name you specify is valid for the product that uses it. CDO does not check whether the string you specified for the query name is valid. When you assign a query name to a field element, products that support the QUERY_NAME field property can refer to the field element either by its query name or its processing name.
3 – Examples
CDO> DEFINE FIELD TOTAL_PRICE cont> DATATYPE IS UNSIGNED LONGWORD cont> COMPUTED BY UNIT_PRICE * QUANTITY cont> QUERY_NAME IS "TP". In this example, the QUERY_NAME field property in the DEFINE FIELD command specifies the TP alternate name for the TOTAL_ PRICE field element.