| View previous topic :: View next topic |
| Author |
Message |
rbag Newbie

Joined: 26 May 2010 Posts: 3
|
Posted: Wed May 26, 2010 12:35 am Post subject: mail merge and page break |
|
|
Hi all,
I try to do something and it don't seems to be possible, i'd like to have your opinion.
the objective is to display tabular data with the mail merge, ie:
Page 1
header
record1 => field1 field2
record2 => field1 field2
record3 => field1 field2
record4 => field1 field2
footer
I succed to display the header only on the first page and the footer on the last page (with hidden paragrah), but I can't figure how to remove (or not to display) the page break between each record.
moreover the record data are displayed in a table and I don't want any line break between two records (to make a kind of table display)
someone has an idea ? |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8979 Location: Lexinton, Kentucky, USA
|
Posted: Wed May 26, 2010 5:59 am Post subject: |
|
|
In a new Writer document do F4, open your DB, open the Tables item and click your table. Select the records you want to display with the boxes to their left (upper left selects all) and click the Data to Text icon found above the field names.
You should be able to handle it from there and after you do you can insert both a header and footer for all pages because they will all have the same page style (header/footer is a property of the page style). |
|
| Back to top |
|
 |
rbag Newbie

Joined: 26 May 2010 Posts: 3
|
Posted: Wed May 26, 2010 11:01 pm Post subject: |
|
|
It's more a workaround than a solution :-/
my data source comes from an application, the mail merge must be done automaticaly, the users should not have to make any manipulation on the document to be printed :-/
this is quite easy on ms office but we would like to propose the same functionnality with OOo. |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8979 Location: Lexinton, Kentucky, USA
|
Posted: Thu May 27, 2010 8:12 am Post subject: |
|
|
| Quote: | | my data source comes from an application | Would or could these assumptions be true?
The data source always has the same name.
The number of records may vary.
The data source would always be stored in the same location on the users' computers. |
|
| Back to top |
|
 |
rbag Newbie

Joined: 26 May 2010 Posts: 3
|
Posted: Fri May 28, 2010 3:58 am Post subject: |
|
|
| JohnV wrote: | | Quote: | | my data source comes from an application | Would or could these assumptions be true?
The data source always has the same name.
The number of records may vary.
The data source would always be stored in the same location on the users' computers. |
sorry for my English, but the file is generated by an application (csv) and stored in the application directory.
this is functionnal, OOo retrieves the data without any problem. the difficulty is how OOo handle the page break. |
|
| Back to top |
|
 |
|