Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
ip ip is offline
external usenet poster
 
Posts: 2
Default is there a way to repeat content of cell from last row from previous page?

I have a table that slits across multiple pages. The table is a simple
grid with header rows.
In firts column there is a group identifier that is nonblank only if
row is first in group (see below)
--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Mary Anne
Betty
John Mark
Peter John
Paul
Amy

If table goes to next page, and break occurs in the middle of group, I
want Parent name to appear:

--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Mary Anne
Betty
John Mark
Peter John
Paul
____ page break _____

--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Peter Amy

(Page breaks are automatic)

Is there a way to do this? I thought to use somethign as follows:
whenever Parent Name changes, I insert an incremental bookmark to the
parent name (bk1, bk2, ...). and the SEQ field that increments by one
whenever parent name changes
Then I would add a line to header row that has a REF field in first
column, and the bookmark name for this REF field would be bk+value of
SEQ field. Is this possible? I tried
{REF bk{={SEQ xx}}} but this generates "Error!Reference not found"...

Thanks in advance for any advice

  #2   Report Post  
Posted to microsoft.public.word.tables
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default is there a way to repeat content of cell from last row from previous page?

Hi Ip,

Try the STYLEREF field. The help topic explains how it works.

I have a table that slits across multiple pages. The table is a simple
grid with header rows.
In firts column there is a group identifier that is nonblank only if
row is first in group (see below)
--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Mary Anne
Betty
John Mark
Peter John
Paul
Amy

If table goes to next page, and break occurs in the middle of group, I
want Parent name to appear:

--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Mary Anne
Betty
John Mark
Peter John
Paul
____ page break _____

--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Peter Amy

(Page breaks are automatic)

Is there a way to do this? I thought to use somethign as follows:
whenever Parent Name changes, I insert an incremental bookmark to the
parent name (bk1, bk2, ...). and the SEQ field that increments by one
whenever parent name changes
Then I would add a line to header row that has a REF field in first
column, and the bookmark name for this REF field would be bk+value of
SEQ field. Is this possible? I tried
{REF bk{={SEQ xx}}} but this generates "Error!Reference not found"...


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #3   Report Post  
Posted to microsoft.public.word.tables
ip ip is offline
external usenet poster
 
Posts: 2
Default is there a way to repeat content of cell from last row from previous page?

Cindy,
thank you very much. Since I posted the queston, I found other posts
sugestign styleref and I tried to use it.

It works, but the solution seems quite complicated: since I want to
show "Parent Name" in the middle of the group ONLY if the middle of the
group appears as first row on a page, I need to be able to detect
automatic page breaks. I have done it with a series of SEQ and IF
fields (on each row, IF fields checks if this row is first on a new
page, and if so, it resolves to STYLEREF field.
Do you know of any simpler way?

Thanks

Iza


Cindy M. wrote:
Hi Ip,

Try the STYLEREF field. The help topic explains how it works.

I have a table that slits across multiple pages. The table is a simple
grid with header rows.
In firts column there is a group identifier that is nonblank only if
row is first in group (see below)
--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Mary Anne
Betty
John Mark
Peter John
Paul
Amy

If table goes to next page, and break occurs in the middle of group, I
want Parent name to appear:

--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Mary Anne
Betty
John Mark
Peter John
Paul
____ page break _____

--------------------------------------------------
Parent Name Children Names
--------------------------------------------------
Peter Amy

(Page breaks are automatic)

Is there a way to do this? I thought to use somethign as follows:
whenever Parent Name changes, I insert an incremental bookmark to the
parent name (bk1, bk2, ...). and the SEQ field that increments by one
whenever parent name changes
Then I would add a line to header row that has a REF field in first
column, and the bookmark name for this REF field would be bk+value of
SEQ field. Is this possible? I tried
{REF bk{={SEQ xx}}} but this generates "Error!Reference not found"...


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)


  #4   Report Post  
Posted to microsoft.public.word.tables
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default is there a way to repeat content of cell from last row from previous page?

Hi Ip,

It works, but the solution seems quite complicated: since I want to
show "Parent Name" in the middle of the group ONLY if the middle of the
group appears as first row on a page, I need to be able to detect
automatic page breaks. I have done it with a series of SEQ and IF
fields (on each row, IF fields checks if this row is first on a new
page, and if so, it resolves to STYLEREF field.
Do you know of any simpler way?

Don't know if it's "simpler" from your point of view, but personally I
might consider just running a macro on the document just before
printing/publishing. (IOW static, not dynamic generation of the "repeat
content").

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using odd page bread to start a new chapter on an odd page [email protected] Microsoft Word Help 11 May 25th 06 04:56 PM
Restart Page No Deletes Even Page Footer chris Formatting Long Documents 6 April 24th 06 04:17 PM
Page number difficulties Tjodrik Microsoft Word Help 3 May 9th 05 02:54 PM
Odd page section break Jenny Page Layout 5 December 15th 04 09:05 AM
Repeat information in a previous cell Margaret Tables 1 November 17th 04 07:39 PM


All times are GMT +1. The time now is 07:32 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"