Hi Sukhi,
.... and if the entire range moves to the next page "Continued..." will have
to disappear, I guess. Well, this can be done.
Place a bookmark at the beginning of the range (say, "StartR").
Place a bookmark at the end of the range (say, "EndR").
Activate the header.
Insert the following field (by pressing Ctrl-F9 to insert the { } and typing
the rest):
{ IF s < e { IF { PAGE } <= e { IF s < { PAGE } "Continued..." } } }
Choose Insert | Reference > Cross-reference...
In the dialog, choose 'Bookmark' as Reference type, end choose 'Page number'
under 'Insert reference to:'
Now, replace s in the field by a cross-reference to StartR, and replace e by
a cross-reference to EndR.
Done.
"Continued..." appears on the current page whenever the 'StartR-page' comes
before the 'EndR-page' AND the current page is either the 'EndR-page' or
comes before it, AND the 'StartR-page' comes before the current page. The
last AND-phrase prevents "Continued..." to appear on pages before the
'StartR-page'.
Thanks to a few nightly hours in which sleep wouldn't come.
Success,
Cooz