G
Guest
Hi there,
I have this IF statement, amongst others, in a template at the moment:
{IF {ref COMP}= "" "" "{ref COMP /* CHARFORMAT}"}
COMP is a bookmark that is SET at the beginning of the template to the
company name that should have been passed from our company contacts database
(ACT!) by {SET COMP "[[Company]]"}.
However, sometimes it works and sometimes it doesn't. Sometimes it prints
the correct information and sometimes you get the name of the field instead.
It's not too much of a problem when I only have one contact to write to, but
we're now in the position where we need to do a mailshot to all of our
customers and obviously can't risk any of them not being included in the
mailing.
I think the problem is the first {ref COMP} which should just be {COMP} but
every time I save the template and open it again Word keeps putting all the
REF's I took out back in.
Does anyone have any idea how to stop it doing that? (I don't know why it is
as I have other templates where it doesn't put them in and they work fine -
very frustrating!!)
Many thanks in advance to anybody who can help!
Alison
I have this IF statement, amongst others, in a template at the moment:
{IF {ref COMP}= "" "" "{ref COMP /* CHARFORMAT}"}
COMP is a bookmark that is SET at the beginning of the template to the
company name that should have been passed from our company contacts database
(ACT!) by {SET COMP "[[Company]]"}.
However, sometimes it works and sometimes it doesn't. Sometimes it prints
the correct information and sometimes you get the name of the field instead.
It's not too much of a problem when I only have one contact to write to, but
we're now in the position where we need to do a mailshot to all of our
customers and obviously can't risk any of them not being included in the
mailing.
I think the problem is the first {ref COMP} which should just be {COMP} but
every time I save the template and open it again Word keeps putting all the
REF's I took out back in.
Does anyone have any idea how to stop it doing that? (I don't know why it is
as I have other templates where it doesn't put them in and they work fine -
very frustrating!!)
Many thanks in advance to anybody who can help!
Alison