Thanks for your response. Much appreciated.
OK, so it looks like it might be too difficult.
I was trying to avoid the issues that arise when a user moves a captioned object from one part of a document to another, ie a captioned object would be moved from an appendix to a regular section and thus should be referencing Heading 1, not Heading 6 or vice versa.
I have the objects (including the relevant caption) inserted via macro as QuickParts and labelled as Table and Appendix Table to provide the relevant caption numbering. This works well.
Rather than doing an all-in-one approach, is there a simple way then to just eliminate the "." which remains when the numbering of heading 1 is removed.
I need table caption to return "Table 1.1" with a numbered heading 1 style, or "Table 1" with a non numbered heading 1 style. I'm currently getting "Table .1" with a non numbered heading 1 style.
My current field code is "{If {STYLEREF 1\s}<> "Error*"{STYLEREF 1\s}}.{SEQ Table \* ARABIC \s 1}"
Thanks again for your time.
|