Each index entry (XE field) must contain an \f switch with a designation for
the index it should go in. According to Word's Help:
\f "Type"
Defines an entry type. The entry for the field { XE "Selecting Text" \f
"a" } is included only in an index inserted by the field { INDEX \f "a" }.
The default entry type is "i."
In other words, you can put \f "a" in the entries for addresses and \f "n"
in the entries for names, then create two indexes--{ INDEX \f "a" } and {
INDEX f\ "n" } to include the two sets of entries.
It may be that you need label only one set--that is, that those without a
switch will be included in the default INDEX (with no switch), and the ones
with a switch will be included in the corresponding index--but I'm not sure
about that.
IIRC, in 2003 when you do multiple indexes, if you don't put the
switch into an {INDEX} field, then it includes all the marked items,
whichever switch they have. (But it's been about two years since I had
multiple indexes.)
Thanks for the follow-up, Peter. I suspect you're right. So DocG would need
switches in both sets of index entries and both Index fields.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
IIRC, in 2003 when you do multiple indexes, if you don't put the
switch into an {INDEX} field, then it includes all the marked items,
whichever switch they have. (But it's been about two years since I had
multiple indexes.)
Thanks very much to both of you. I'll cross my fingers and give it a try.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.