Reply
 
Thread Tools Display Modes
  #1   Report Post  
UCHelp UCHelp is offline
Junior Member
 
Posts: 5
Default Carriage Return Help

Hello. I am using a format that imports data through XML Word Documents.

The format is {entity.attribute}

for example
{contact.fullname}
{contact.company}
{contact.address1}
{contact.address2}

My problem is, if the contact doesn't have an address 2 line, it will merge an unwanted carriage return.

How can I make sure this doesn't happen by checking if the line is empty and thus not putting a carriage return? Many contacts dont have address line 2s, but some do.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Carriage Return Help

Responded to your other duplicate post.

Peter Jamieson

http://tips.pjmsn.me.uk

On 02/04/2010 19:27, UCHelp wrote:
Hello. I am using a format that imports data through XML Word
Documents.

The format is {entity.attribute}

for example
{contact.fullname}
{contact.company}
{contact.address1}
{contact.address2}

My problem is, if the contact doesn't have an address 2 line, it will
merge an unwanted carriage return.

How can I make sure this doesn't happen by checking if the line is
empty and thus not putting a carriage return? Many contacts dont have
address line 2s, but some do.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Carriage Return steve_ben Microsoft Word Help 1 March 1st 09 02:11 PM
carriage return symbols and more exasperated Microsoft Word Help 3 May 5th 08 01:27 AM
Mergefield - carriage return Eric Mailmerge 3 March 27th 08 09:19 PM
Search and replace hard-line-return character, not carriage return Tyler T Microsoft Word Help 2 August 16th 06 09:11 PM
If Field Carriage Return Mike Silva Microsoft Word Help 1 June 7th 06 07:47 AM


All times are GMT +1. The time now is 02:13 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"