OutputFields
%OutputFields("name"->"alias", "name..."->"alias...");
This is a required command. If not specified, an error occurs.
The name
(or alias
, if specified) must correspond to the name of a <variable>
used in the Rule section.
Example
%OutputFields("FirstName","LastName");
FirstName
and LastName
are fields that will be output from the stage. The respective values come from FirstName
and LastName
grammar rules.
An alias allows you to have a rule with one name, but have the results output to a field of a different name.
Example
%OutputFields("FN1"->"FirstName","FN2"->"FirstName", "LastName");
FirstName
and LastName
are fields that will be output from the stage. The value for FirstName
comes from FN1
or FN2
grammar rules (which is evaluated last) and LastName
comes from the LastName
grammar rule.
To use this command:
- Position the cursor where you want the command inserted.
- Double-click %OutputFields in the Commands list.
- Type the name of the rule or select it from the Rule list.
The name of each rule must correspond to a <variable>
used in the Rule section. The rules that you list here will be output as new fields as described previously.
- Optionally, type the name of the alias or select it from the Alias list.
- Repeat for each rule.
- To delete a rule, select the row and then press Delete.
- Click OK.