You put an actual tab character into the result text.
But it is probably easier to do this if you insert the IF field first
(however you are currently doing that) then use Alt-F9 to reveal the field
codes in your text and edit the result texts directly.
e.g. if you already have something like
{ IF { MERGEFIELD x } = "yes" "" "" }
then put the insertion point between the first "" and press the tab key
(unless the field is in a table, in which case use ctrl-tab).
As for checking for "yes", if it is literally "yes" then the above would be
OK. But if it could be Yes, yes or YES then you need something like
{ IF { MERGEFIELD x \*Upper } = "YES" "<a tab character>" "" }
Perhaps not relevant, but...
and if x is a Yesno field in Access you will probably need something more
like
{ IF { MERGEFIELD x } = 0 "" "<a tab character>" }
but you need to check exactly what values Word inserts for { MERGEFIELD x }
for the "True/False" values of x and test against that value in your IF
statement (because Word inserts different values for True/False, Yes/No
depending on how it connects to Access).
--
Peter Jamieson - Word MVP
Patti said:
I am inserting a word field into my merge. It is an if..then..else field.
If a certain field equals yes then tab. How do I write this? What is the
designation for a tab? I tried ^t but that did not work.