[Solved] Repeat fields on more than one page

Creating and using forms
Post Reply
dreamquartz
Posts: 891
Joined: Mon May 30, 2011 4:02 am

[Solved] Repeat fields on more than one page

Post by dreamquartz »

Hi All,

I am trying to produce a simple 2 page report where on the front and the back the same persons are listed.
The report is the same as inviewtopic.php?t=111803.
I need to be able to repeat the column "Surname, GivenName" and then print the report double sided.
This column can hold between 1 and 12 records.

I have scoured the interweb, but have come up empty.

Any guidance is appreciated.

Dream
Last edited by dreamquartz on Wed Sep 25, 2024 5:26 pm, edited 1 time in total.
LO 7.x, HSQLDB 2.7.x & Ubuntu 22.04 LTS.
User avatar
Villeroy
Volunteer
Posts: 31319
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Repeat fields on more than one page

Post by Villeroy »

to be stored in "direct SQL mode":

Code: Select all

SELECT <column list>, 1 AS "Page" FROM "Somewhere"
UNION ALL SELECT <column list>, 2 AS "Page" FROM "Somewhere"
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
dreamquartz
Posts: 891
Joined: Mon May 30, 2011 4:02 am

Re: Repeat fields on more than one page

Post by dreamquartz »

Thank you so much. that works great.
LO 7.x, HSQLDB 2.7.x & Ubuntu 22.04 LTS.
Post Reply