I am trying to automate the captions in a report template. I need the captions to start renumbering from 1 in each portion of the report. Each report will include information on a varying number of floors in the building being discussed. For the 24th floor, I want the caption to start at 24-1. For the 5th floor, I want the caption to start at 5-1. For the mezzanine level, I want the caption to start at M-1.
In trying to do this, I defined a bookmark FloorA which contains the floor number of the first floor in the report. Then I modified a caption from 24 { SEQ 24 - \* ARABIC} to { REF FloorA } - {SEQ {REF FloorA } \* ARABIC } . Unfortunately, this evaluates to 24- Error! Bookmark not defined. Caption
Since the first REF field evaluates as expected, the bookmark must be defined. What am I doing wrong?
The intent is to edit the contents of the FloorA bookmark and have the captions automatically update so the user doesn't have to edit the numbering of the caption fields individually.