The information in this article applies to:
SYMPTOMSMicrosoft Word removes leading spaces and leading tabs from your data records when you insert or merge an external database. In contrast, Word does not remove leading spaces when the data source is created in Word. CAUSEBy design, Word removes leading spaces and leading tabs from external databases. WORKAROUNDUse either of the following methods to add the missing spaces to your merge document. Method 1: Insert Extra SpacesInsert extra spaces in the main document. These extra spaces should immediately precede the appropriate merge field.Method 2: Create a Conditional Merge FieldCreate a conditional merge field to include spaces. The following merge field example will insert five spaces if {mergefield name} equals John.
The following merge field will insert five spaces and the result of the
{mergefield name} in your document:
Additional query words: merge database datasource data source records leading spaces blank
Keywords : kbdta word97 kbmerge |
Last Reviewed: October 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |