Top Navigational Bar

When Are Keystroke Commands Allowed In A Merg
DocumentID: 636144
Revision Date: 29-Feb-96 3:04:07 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: When are keystroke commands allowed in a merge? The WordPerfect 5.1 for DOS Reference manual, Appendix L "Keystroke Commands In Variables," page 871, says keystroke commands are not allowed in a merge. Are there conditions where keystroke commands can be carried out during a merge? Solutions: Keystroke commands are allowed in a merge under the following three conditions.
1.      When a macro assigns keystrokes to a variable and the macro executes it during a merge, the keystroke commands are carried out. For example if the KEY.WPM macro contains the commands ASSIGN}A~One{Enter}Two{Enter}~ VARIABLE}A~ and a portion of the primary file contains the command {NEST}KEY~, after the merge is complete, the user will see the following:
      One[HRt]
      Two[HRt]

2.      If a macro assigns a variable and the merge executes the variable, the keystroke commands appear as compose characters. For example if the KEY.WPM macro contains the command {ASSIGN}A~One{Enter}Two{Enter}~ and a portion of the primary file contains the command {NEST}KEY~{VARIABLE}A~, after the merge is complete, the user will see the following:
      One[128,10]Two[128,10]

3.      If the merge assigns the variable and executes it, the keystrokes are carried out. For example if field 1 contains the following:
      John Doe[HRt]
123 E. 123 S.[HRt]
Qwerty, CA 12345[End Field][HRt]

      and the primary file contains the command {ASSIGN}A~{FIELD}1~~{VARIABLE}A~, after the merge is complete, the user will see the following:
John Doe[HRt]
123 E. 123 S.[HRt]
Qwerty, CA 12345

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.