How do I set up more than one index in Word 2007?

D

DocG

I want to set up two indices -- Names and Addresses. I'm using a concordance
document for Names. How do I set up a second index for Addresses?
 
S

Suzanne S. Barnhill

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.
 
G

grammatim

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.)
 
S

Suzanne S. Barnhill

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.)
 

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.

Ask a Question

Top