M
Michael Herzog
I'm writing a template in Word for the Document Request
module of our Siebel installation. There are a lot of
filler first names of customers/prospects in the database,
so I try to sort them out while merging the document with
{IF { OR {MERGEFIELD FIRST_NAME_X} <> "-" ;{MERGEFIELD
FIRST_NAME_X} <> "/";{MERGEFIELD FIRST_NAME_X} <> "."}
{MERGEFIELD NUON_CONTACT_FULL_NAME_X} {MERGEFIELD
LAST_NAME_X}}.
Of course this only works for the defined filler values
and your coworkers can be very creative with those.
A more elegant way would be to check the length of the
merge field FIRST_NAME_X and only print
NUON_CONTACT_FULL_NAME_X if the length of FIRST_NAME_X is
=> 2.
Is this possible?
If want to implement a similar thing in the other modules,
but they don't use merge fields, they use references like
{REF SalesRep\*MERGEFORMAT\Charformat}.
module of our Siebel installation. There are a lot of
filler first names of customers/prospects in the database,
so I try to sort them out while merging the document with
{IF { OR {MERGEFIELD FIRST_NAME_X} <> "-" ;{MERGEFIELD
FIRST_NAME_X} <> "/";{MERGEFIELD FIRST_NAME_X} <> "."}
{MERGEFIELD NUON_CONTACT_FULL_NAME_X} {MERGEFIELD
LAST_NAME_X}}.
Of course this only works for the defined filler values
and your coworkers can be very creative with those.
A more elegant way would be to check the length of the
merge field FIRST_NAME_X and only print
NUON_CONTACT_FULL_NAME_X if the length of FIRST_NAME_X is
=> 2.
Is this possible?
If want to implement a similar thing in the other modules,
but they don't use merge fields, they use references like
{REF SalesRep\*MERGEFORMAT\Charformat}.