Create index that references field - not page number

C

CSWolfe

I have created a merged document for the printed program that lists all the
breakout sections of a conference. My document includes the following fields:
FirstName LastName Section

I can successfully merge the documents. I can successfully use an automark
document to mark the FirstName and LastName. I can successfully create an
index for the document that lists all the names and the page on which they
appear.

What I really want to do, is to create an index that does not point to the
page numbers. Instead, I'd like each index entry to point to the value in the
section field.

For Example:

Name Section
Smith, Jane P01
Smyth, David R02

I can do this in the source database and then copy/paste/format but I am
hoping there is a way to generate the table automatically within Word.

Thanks!
 
S

Stefan Blom

Index entries in the text are XE fields. You can use the \t switch to add
text in place of the page number. (Word uses that switch when you add a
"See" cross-reference in the Mark Index Entry dialog box.)

XE fields are formatted as hidden, so you will have to display hidden text
to see their field codes. Once you can see the field code, just add \t "" to
it. Within the quotation marks, type the text that you want. Or, in this
case, add the required cross-references via the Cross-reference dialog box.
Press F9 to update. When you are done, be sure to update the INDEX field.
 

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