OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

mail merge and page break

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
rbag
Newbie
Newbie


Joined: 26 May 2010
Posts: 3

PostPosted: Wed May 26, 2010 12:35 am    Post subject: mail merge and page break Reply with quote

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
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8979
Location: Lexinton, Kentucky, USA

PostPosted: Wed May 26, 2010 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
rbag
Newbie
Newbie


Joined: 26 May 2010
Posts: 3

PostPosted: Wed May 26, 2010 11:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8979
Location: Lexinton, Kentucky, USA

PostPosted: Thu May 27, 2010 8:12 am    Post subject: Reply with quote

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
View user's profile Send private message
rbag
Newbie
Newbie


Joined: 26 May 2010
Posts: 3

PostPosted: Fri May 28, 2010 3:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group