Word 2007 should remove blank lines by default /when there is nothing
except MERGEFIELD fields on them/. But there are circumstances in which
that does not actually happen, so it is probably better to use IF
fields, e.g.
a{ IF "{ MERGEFIELD myfield }" = "" ""
"{ MERGEFIELD myfield }
" }z
will output
az
if myfield is blank and
amydata
z
if myfield is "mydata"
All the pairs of {} need to be the special field code braces that you
can enter using ctrl-F9
Peter Jamieson
http://tips.pjmsn.me.uk
wrote:
... up or to the left so that there are no blank spaces.
In Filemaker Pro (FMP), if memory serves, this is called "slide" or
"sliding". What would the term be in Word 2007, pls? I need to find
out how to code for blank data. There must be a way to emulate this
in a word processing doct., vs. a database such as FMP.
Thanks!
D