Microsoft KB Archive/70372: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (X010 moved page Microsoft KB Archive/Q70372 to Microsoft KB Archive/70372 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
 
(2 intermediate revisions by the same user not shown)
Line 17: Line 17:
The following example will display the contents of the current “Name” field (“Bob”) in the ASK dialog box:
The following example will display the contents of the current “Name” field (“Bob”) in the ASK dialog box:


Dear &lt;&lt;ASK Title=? Enter a Title for &lt;<Name>&gt;:&gt;&gt; &lt;
Dear <<ASK Title=? Enter a Title for <<Name>>:>> <
<Title>
<Title>
<blockquote>&lt;<Name>&gt;:
<blockquote><<Name>>:
</blockquote>
</blockquote>
This statement will display the following dialog box:
This statement will display the following dialog box:
Line 28: Line 28:
When a form letter containing the above ASK statement is merged, it will contain a line that says:
When a form letter containing the above ASK statement is merged, it will contain a line that says:


Dear &lt;Mrs., Mr., Ms. – whatever was put into the ASK dialog box&gt; Bob:
Dear <Mrs., Mr., Ms. – whatever was put into the ASK dialog box> Bob:


= MORE INFORMATION =
= MORE INFORMATION =

Latest revision as of 19:29, 12 August 2020

Word: ASK Statement Displaying Data Field in Print Merge

PSS ID Number: Q70372 Article last modified on 03-07-1997

====================================================================== 3.00 3.01 3.02 4.00 5.00 5.10 MACINTOSH kbprint

The information in this article applies to:
- Microsoft Word for the Macintosh versions 3.0, 3.01, 3.02, 4.0, 5.0, 5.1

SUMMARY

In Microsoft Word for the Macintosh, you can put a data field within an ASK statement so that the ASK dialog box shows the field information from the record being merged.

The following example will display the contents of the current “Name” field (“Bob”) in the ASK dialog box:

Dear <<ASK Title=? Enter a Title for <<Name>>:>> < <Title>

<<Name>>:

This statement will display the following dialog box:

-----------------------------------------------------------

| Enter a Title for Bob: —- | | | OK | | | —- | | |————————————| ———— | | | | | Stop Merge | | | |————————————| ———— | ———————————————————–

When a form letter containing the above ASK statement is merged, it will contain a line that says:

Dear <Mrs., Mr., Ms. – whatever was put into the ASK dialog box> Bob:

MORE INFORMATION

For more information on the ASK statement, query on the following words in the Microsoft Knowledge Base:

ASK and print and merge

For more information on using the ASK statement with Word 5.0, see pages 651-653 in the “Microsoft Word User’s Guide.” For Word 4.0, see pages 293 to 297 in the “Reference to Microsoft Word”; for Word 3.x, see pages 72 to 92 in the “Reference to Microsoft Word.”

KBCategory: kbprint KBSubCategory: kbfield kbmerge Additional reference words: macword macword5 3.00 3.01 3.02 4.00 5.00 3.0 4.0 5.0 ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.