KEYNAME
From CometWiki
(Difference between revisions)
(New page: 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 ...) |
|||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | Example: | + | == KEYNAME == |
- | INPUT customer | + | |
- | KEYNAME CustomerName | + | '''Syntax:''' <br> KEYNAME CustomerName <br> |
- | REPORT | + | '''Discussion:''' <br> KEYNAME specifies the secondary keyname by which the primary file will be read.<br> The secondary keyname much match one of the key names created when the multi-keyed file was created. <br> If KEYNAME is not used, the file is read in primary key order. <br> |
- | PRINT cust.number;cust.name | + | '''Placement:''' <br> KEYNAME must be used after INPUT and before REPORT. |
+ | |||
+ | '''Example:''' | ||
+ | INPUT customer | ||
+ | KEYNAME CustomerName | ||
+ | REPORT | ||
+ | PRINT cust.number;cust.name |
Latest revision as of 09:34, 6 June 2009
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