KEYNAME

From CometWiki

Jump to: navigation, search

KEYNAME

Syntax:
KEYNAME CustomerName
Discussion:
KEYNAME specifies the secondary keyname by which the primary file will be read.
The secondary keyname much match one of the key names created when the multi-keyed file was created.
If KEYNAME is not used, the file is read in primary key order.
Placement:
KEYNAME must be used after INPUT and before REPORT.

Example:

INPUT customer
KEYNAME CustomerName
REPORT
PRINT cust.number;cust.name
Personal tools