Leading Spaces and Tabs Removed with Inserted DatabaseLast reviewed: February 5, 1998Article ID: Q122558 |
The information in this article applies to:
SUMMARYWord removes leading spaces and leading tabs from your data records when you insert or merge an external database. By contrast, Word does not remove leading spaces when the data source is created in Word.
CAUSEBy design, Word removes leading spaces and leading tabsfrom external databases.
WORKAROUNDSUse one of the following methods to add the missing spaces to your merge document: Method 1: Insert extra spaces in the main document. These extra spaces should immediately precede the appropriate mergefield.Method 2: Create a conditional mergefield to include spaces. The following mergefield example will insert five spaces if {mergefield name} equals John. {If {mergefield name} = "John" " "} The following mergefield will insert five spaces and the result of the {mergefield name} in your document: {If {mergefield name} = "John" " {mergefield name}"} |
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |