Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Overflow Leader outside Subform border

tgoodmannz_bss
Level 4
Level 4

Hi,

I have a form with the following hierarchy

> Header

> Subform [With border]

> > Subform bound to datasource with repeating rows

I also have another subform, which I use as an Overflow Leader, if a Page break occurs

This works fine, except if there is a page break, on the new page this displays as:

> Subform [With border]

> Over flow Header

> > Subform bound to datasource with repeating rows

i.e. the overflow header is inside the border, when I want it to be outside the border, so it looks like a header.

The client is pretty clear with the border - they ONLY want it around the entire set of rows for the Subform, not between each row item.

As I write this - I am thinking of a possible solution.

- Remove the border around the containing subform

- On the repeating row have some script that does:

     - If this is the first row, add a border at the top

     - If this is the last row, add a border at the bottom.

I'll see if I can get it working, and report back 🙂

1 Reply
tgoodmannz_bss
Level 4
Level 4

OK - my idea "kind of" worked.

Here is the full solution:

So now the structure is:

> Header (with a border at the bottom)

> Subform (with only a border at the bottom

> > Subform bound to datasource with repeating rows, with border on Left and right

The overflow leader has a line at the base of the subform (a border did not work - it got "lost")

So now the "Table" has a border, and if it overflows, it looks like a new table on the next page.  Great!