Repeating Tables & Rows

Tables:

If you wish to repeat the contents of an entire table, surround the table with a <<*Repeat* block>>. (In the below example, the groupname !Shareholders! is optional, an needed only if the number of shareholders is also used further down in the document.) E.g.:

<<*Repeat*!Shareholders!How many shareholders?*

[Shareholder]

[SharesOwned]

[ShareholderAddress]

>>

If the table contains a header row or rows, you can tell Pathagoras to automatically repeat just the non-headers rows. Here's an example (similar to the above):

 

<<*Repeat(header)*

In the following section, provide the requested information regarding each child:

Name of child

Address

Date of Birth

[Child]

[Childaddress]

[Date of Birth]

     >>

 

When you “Process Page” on the above example, Pathagoras will ask for the # of repeats. If Answer=3, the table becomes:

In the following section, provide the requested information regarding each child:

Name of child

Address

Date of Birth

[Child@1]

[Childaddress@1]

[Date of Birth@1]

[Child@2]

[Childaddress@2]

[Date of Birth@2]

[Child@3]

[Childaddress@3]

[Date of Birth@3]

 

And after the application of the Instant Database:

In the following section, provide the requested information regarding each child:

Name of child

Address

Date of Birth

John Doe

123 Main Street   

January 28, 1953   

Paula Doe Smith

334 Oak Landing

July 7, 1952

Francis Doe

117 Cherry Orchard Land   

August 18, 1962

 

 

If you wish to repeat a selected row in a ‘plain table’ (that is, one that is not surrounded by any <<*Repeats*>> instructions, follow these steps:

1.Place your cursor in the row you want to repeat. (In the below example, place cursor anywhere in the last row.)

2.Click the Pathagoras Features menu.

3.Click "Process Tools" and then 'Repeat Rows'.

4.When prompted, type in the number of times you want the row to repeat. All rows at and below the cursor level will be duplicated and all [bracketed variables] will be incremented so they can be identified and answered separately when you run the the Instant Database.

 In the following section, provide the requested information regarding each child:

Name of child

Address

Date of Birth

[Child]

[Childaddress]

[Date of Birth]

 

Here is the result if “3”chosen:

In the following section, provide the requested information regarding each child:

Name of child

Address

Date of Birth

[Child@1]

[Childaddress@1]

[Date of Birth@1]

[Child@2]

[Childaddress@2]

[Date of Birth@2]

[Child@3]

[Childaddress@3]

[Date of Birth@3]

informationNote: Inside rows cannot be duplicated as 'stand alone' units. All rows from the cursor position down will be duplicated. The limitation can easily be overcome by simply not having information you do not want repeated beneath the section of the table you want duplicated. If necessary, split the table.

Created with Help & Manual 7 and styled with Premium Pack Version 2.70 © by EC Software