B
BillV
I'm working with the "IF" conditional field in Word 2007. I'd like the
output to contain a paragraph mark only if the condition is met. I've failed
to locate an expression for paragraph mark that I can include in the field.
I've stored an Address and Suite Number into separate Document Properties.
If a Suite is present, I'd like that to precede Address on a separate line
like this:
123 Main St. (no suite)
or
Suite 3 (with suite)
123 Main St.
Here's the expression I've composed:
{ IF { DOCPROPERTY Suite } = "" "{ DOCPROPERTY Address}" "{ DOCPROPERTY
Suite }^p{ DOCPROPERTY Address}" }
I've inserted "^p" after the suite property. This works for Find and
Replace, but not here.
Your suggestions are very much appreciated!
output to contain a paragraph mark only if the condition is met. I've failed
to locate an expression for paragraph mark that I can include in the field.
I've stored an Address and Suite Number into separate Document Properties.
If a Suite is present, I'd like that to precede Address on a separate line
like this:
123 Main St. (no suite)
or
Suite 3 (with suite)
123 Main St.
Here's the expression I've composed:
{ IF { DOCPROPERTY Suite } = "" "{ DOCPROPERTY Address}" "{ DOCPROPERTY
Suite }^p{ DOCPROPERTY Address}" }
I've inserted "^p" after the suite property. This works for Find and
Replace, but not here.
Your suggestions are very much appreciated!