dynamically add "continue" to group header text

  • Thread starter Thread starter Joan Unterweger via AccessMonster.com
  • Start date Start date
J

Joan Unterweger via AccessMonster.com

I have seen great postings for adding the word continue to a group header,
where the group continues on the next page. The problem for me, is the header
text changes in size (number of characters) for each group and the word
"continue" is not properly positioned after my header text. I have found no
way to either change the header text or reposition it.
Any ideas?
 
Joan said:
I have seen great postings for adding the word continue to a group header,
where the group continues on the next page. The problem for me, is the header
text changes in size (number of characters) for each group and the word
"continue" is not properly positioned after my header text. I have found no
way to either change the header text or reposition it.


It would have helped if you had posted what you currently
have, but I'll take a guess anyway.

You probably have a label control with "continued" as its
caption. then make it visible or not as needed using code
something like:
Me.label.Visible = (Me.txtLineCounter > 1)

If that sort of close, then get rid of the label control and
delete the code. Then modify the header text box to use an
expression something like:

=[headerfield] & IIf(txtLineNum > 1, " (continued)", "")
 
Back
Top