Continue SEQ field numbering across documents
I have a document "Doc 1.docm" using SEQ fields numbering:
{SEQ A}
{SEQ A}
{SEQ A}
I've bookmarked the last field "End"
In a second document "Doc 2.docm," I want to continue the seqeunce numbering starting with the last number in Doc 1.
This is what I've come up with. Doc 2 starts with two specially constructed SEQ A fields. The first field is bookmarked "Start"
{ SEQ A \R {=1 + { Quote { INCLUDETEXT "Doc 1.docm" End \!} } }
}
{ SEQ A \R { ={ Start } + 1 }}
I can simplify this a bit and eliminate the "Start" bookmark if I rename the sequence in Doc 2:
{ SEQ B \R {=1 + { Quote { INCLUDETEXT "Doc 1.docm" End \!} } }
}
{ SEQ B}
Is there better way? Thanks.
|