data fields

M

MariA

I have two address fields in my data source. One is a postal address and the
other is an address field. I want to know if there is some way of using the
postal address when available, but if the field is blank then word needs to
use the other address with out leaving blank lines.

Thanks
 
G

Graham Mayor

Use a conditional field. Substitute your field names as appropriate

{IF {Mergefield Postal_address} <> "" "{Mergefield Postal_Address}"
"{Mergefield Alternative_Address}"}

Note the field boundaries are set with CTRL+F9

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - 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