View Single Post
Old October 25th 19, 01:14 PM
M. Hummel M. Hummel is offline
Junior Member
First recorded activity by WordBanter: Oct 2019
Posts: 1
Exclamation Dynamic Index for Mergefields

In a mail merge, I need to create an index based on a Mergefield. When I try this, I get an index with every page listed and the MERGEFIED rather than the field contents which generated in the mail merge. Is there a way to create an index based on a mail merge field rather than static text? I have searched multiple sites, but they all say to stick with the Reference-Mark Entry (in the Index section of the Reference tab) standard formatting which does not work.

The current content looks like this:
{ XE "\Object_Name_Level_2\" } { MERGEFIELD Object_Name_Level_2 }

Where the { XE "\Object_Name_Level_2\" } is the hidden text index tag. I tried editing this to show as the following:
{ XE "\{ MERGEFIELD Object_Name_Level_2 }\" } { MERGEFIELD Object_Name_Level_2 }

That did not work either...

I am creating this mail merge which is run against a SQL database in RSA Archer. We have created other mail merge documents which run beautifully, but this our first attempt at creating an index. Any suggestions would be greatly appreciated.


Last edited by M. Hummel : October 25th 19 at 01:17 PM.