Marty Ludwig Posted March 3, 2011 Share Posted March 3, 2011 Our customer wants ******* provider directories printed. Because of the variable data (ie: Clinic, Address & Physician) the text will flow in a two column format resulting in variable page quantities. Does anyone know if FusionPro has the ability to take the physician name from it's field and list it in an index at the end of the book along with the page number it appears on? I suppose you'd need rules for creating sequential page numbers on all pgs and a rule to index the pg number flush right in the column of physicans. Is there any way this can be done, or does this project exceed the intended function of FP? Link to comment Share on other sites More sharing options...
Dan Korn Posted March 3, 2011 Share Posted March 3, 2011 Yes, you can use the <destination> tag to mark some text, and then use the <crossref> tag to create a reference to it in an index or table of contents. (You can also use a <hypertext> tag to create a hyperlink if you're composing to a PDF.) For instance, when you're setting the name, you can add in the <destination> tag like so: return '<destination name="' + Field("Name") + '">' + TaggedTextFromRaw(Field("Name")); Then in your index, you can create a reference like so: return TaggedTextFromRaw(Field("Name")) + ' - <crossref name="' + Field("Name") + '">Page <$pagenum></crossref>'; Please refer to the Tags Reference Guide for more information. Link to comment Share on other sites More sharing options...
Marty Ludwig Posted March 17, 2011 Author Share Posted March 17, 2011 Thank you Dan. The customer opted for another printer, but I'll run tests using your scripts. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.