document with mail merge fields

W

Warrio

Hello!

I have a document that containts a table with 3 linked fields displayed on 3
rows in a cell
is it possible, if the fields are null, to remove the line in order to do
not let a free line space as shown
____________________
field1 not empty

field3 not empty
____________________

and make it look like:
____________________
field1 not empty
field3 not empty
____________________

Thanks you for any suggestions!
 
D

Doug Robbins - Word MVP

Use an If ... then ... Else field construction

{ If { MERGEFIELD field2 } = "" "{ MERGEFIELD field3 }" "{ MERGEFIELD
field2 }¶
{ MERGFIELD field 3 }" }

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top