Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - New User Needs Help with Merge
New User Needs Help with Merge
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Charles218
Blue Pill


Joined: May 27, 2006
Posts: 4
Location: Ann Arbor

PostPosted: Sat May 27, 2006 12:11 pm    Post subject: New User Needs Help with Merge

Hello,

I am new to NeoOffice having just downloaded and starting playing with it yesterday. One of my goals is to create print merge documents. I have done this for years with Word 5.something and Filemaker, and now want to move all of my apps out of Classic. Will NeoOffice allow me to merge data into a letter from a Filemaker file? I need more then just names and addresses, more like putting specific data in several places throughout the document. Is there a way to have placeholders that then read the data from the Filemaker document? I have tried using the Mail Merge Wizard but this seems to be geared towards only merging name and address data.

Thanks!
Charles
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Sat May 27, 2006 4:20 pm    Post subject:

Speaking generally, the answer to your question is yes; I've used the merge feature once to create nametags ("custom" fields) based on an existing datasource I had. It's been quite some time, however, so I don't remember the exact steps.

What I'm not sure of is if Neo will talk directly to a FileMaker db....

Hopefully there are others here who have more recent experience and can provide more useful answers Smile

And welcome!

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Charles218
Blue Pill


Joined: May 27, 2006
Posts: 4
Location: Ann Arbor

PostPosted: Sat May 27, 2006 5:04 pm    Post subject:

Smokey,

Thanks for your response. Filemaker can export the data in several many formats, so it is my hope that NeoOffice can read at least one of them. Does anyone know which formats it can read?

Also, I forgot to mention that I am using version 2.0 Alpha 3 Patch 0.

Charles
Back to top
doctype
Oracle


Joined: Dec 08, 2005
Posts: 291
Location: Berlin, Germany

PostPosted: Sat May 27, 2006 5:49 pm    Post subject:

sardisson wrote:
I've used the merge feature once to create nametags ("custom" fields) based on an existing datasource I had. It's been quite some time, however, so I don't remember the exact steps.


Out of curiosity, I played a bit around & found out, that it's quite easy: While Step 3 of the Mail Merge Wizard ("Insert adress block") allows to match database fields to entries of an adress block, this has the limitation that all the data go into one block, which can't have other (static) data or formatting.

But you can create an individual document, by inserting database fields from the command menu Insert > Fields > Other ... and select there via Database > Mail merge fields the respective database (or query) fields. Afterwards, a run of the Mail Merge Wizard without creating an adress block or a salutation creates the document series with the actual database data. I tested it, and it worked with data from a MySQL database & a query based on the database (There was mysterious freezing, crashes & empty data fields when working with a query. So that part seems - at least in connection with MySQL - to be quite buggy. I had first used the query for the field insert, and then I had to choose it a second time in Mail Merge Wizard as adress list, and at least once it worked fine. Probably luck).

sardisson wrote:
What I'm not sure of is if Neo will talk directly to a FileMaker db....


Isn't there a JDBC database driver for FileMaker? NeoOffice can talk via JDBC ... and I think otherwise, it's possible to export FileMaker data as dBase or flat text file (csv et. al.). Seeing the problems with queries within NeoOffice, maybe that's a better way: Exporting a query from FileMaker as flat file, and then using that as database with Neo.

Have fun! Martin.
Back to top
LemonAid
The Anomaly


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Sat May 27, 2006 5:55 pm    Post subject: Mail Merge

Charles,

Short answer, Sure NeoOffice can do this.
How? see resources listed below and/or do a Google search for things like :OpenOffice.org Mail merge".

NeoOffice 2.0 Alpha is based on OpenOffice.org 2.0.2 so any hints for OOo 2.0 will work for NeoOffice 2.0

A quick look on www.OpenOffice.org found the following reference How to do a "Mail Merge" from a Calc spreadsheet..
There are hundreds of pages of documention for OOo 2.0

The NeoWiki has vast resources: such as
http://neowiki.sixthcrusade.com/index.php/NeoOffice_File_Formats, and http://neowiki.sixthcrusade.com/index.php/NeoOffice_Tips_and_Hints.
Take a look in in Wiki and I'm sure you will find lots of detailed information.

I don't have the exact details but I have used these resources to answer many other questions I have had.

Please let us know if this helps.

Philip (using NeoOffice 2.OH! and Loving it. Wink )
Back to top
doctype
Oracle


Joined: Dec 08, 2005
Posts: 291
Location: Berlin, Germany

PostPosted: Sat May 27, 2006 5:58 pm    Post subject:

Charles218 wrote:
Filemaker can export the data in several many formats, so it is my hope that NeoOffice can read at least one of them. Does anyone know which formats it can read?


When choosing File > New > Database, you may check out the options via "Connect to an existing database". There's also quite some documentation in the help system NeoOffice Writer > Database functionality > Data Sources

Martin
Back to top
Charles218
Blue Pill


Joined: May 27, 2006
Posts: 4
Location: Ann Arbor

PostPosted: Sun May 28, 2006 12:33 pm    Post subject: Re: Mail Merge

LemonAid wrote:
Charles,

Short answer, Sure NeoOffice can do this.
How? see resources listed below and/or do a Google search for things like :OpenOffice.org Mail merge".

NeoOffice 2.0 Alpha is based on OpenOffice.org 2.0.2 so any hints for OOo 2.0 will work for NeoOffice 2.0

A quick look on www.OpenOffice.org found the following reference How to do a "Mail Merge" from a Calc spreadsheet..
There are hundreds of pages of documention for OOo 2.0

The NeoWiki has vast resources: such as
http://neowiki.sixthcrusade.com/index.php/NeoOffice_File_Formats, and http://neowiki.sixthcrusade.com/index.php/NeoOffice_Tips_and_Hints.
Take a look in in Wiki and I'm sure you will find lots of detailed information.

I don't have the exact details but I have used these resources to answer many other questions I have had.

Please let us know if this helps.

Philip (using NeoOffice 2.OH! and Loving it. Wink )


Well, I spent an hour or so looking at and searching through these links, and have to admit that I am totally lost. I can see that this is not going to be as straight forward as I had hoped.

When I go to "Data Sources" I can not locate my db file, I saved it in the same directory as the Bibliography" but it does not show up so I can not select it. I know that I am using a Filemaker text file so perhaps that is the reason. Although I feel like I am just going about it incorrectly.

So in short, I am just confused but will spend some more time seeing if I can stumble across the correct path. Thanks for your replies, please let me know if you come up with any other suggestions on how I can get there.

Charles
Back to top
doctype
Oracle


Joined: Dec 08, 2005
Posts: 291
Location: Berlin, Germany

PostPosted: Sun May 28, 2006 1:40 pm    Post subject: Re: Mail Merge

Charles218 wrote:
When I go to "Data Sources" I can not locate my db file, I saved it in the same directory as the Bibliography" but it does not show up so I can not select it. I know that I am using a Filemaker text file so perhaps that is the reason. Although I feel like I am just going about it incorrectly.


That's right. I would suggest to read the Help info about databases from the Help menu, it's really helpful & describes each step: You have first to create a new database based on the text files(s) (or, see later in the post, spreadsheet), which will then be registered as datatasource & appear in the datasource panel.

If you go the text-file-route, some hints based on my tests:

- NeoOffice will take the whole folder as "database" & each text file in it as "table" (therefore, when creating the database you choose a folder & don't see the files in the filepicker)
- NeoOffice expects the first line containing the field names. I had some quite funny experiences not knowing that. Don't know how to manage that with FileMaker (doesn't put field names in csv- or tab-files), you probably have to edit the file in a plain text editor
- You should use when exporting from FileMaker tab separation, for having the comma as thousands-separator when importing
- If you use another encoding than ASCII, then probably you will see some weird characters in your NeoOffice tables. There's an option to correct that: Open the database for editing (in datasource view ctrl-click on database name), and select the correct encoding via Edit > Database > Properties... > Additional Settings > Character set

The second and the fourth item on the list represent for me showstoppers concerning text file export. My FileMaker version 8 allows exporting as MS Excel document, and importing that as database (spreadsheet) avoided all those problems. So I would suggest to go that route.

Martin Cool
Back to top
LemonAid
The Anomaly


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Sun May 28, 2006 11:43 pm    Post subject: Re: Mail Merge

doctype wrote:
Charles218 wrote:
When I go to "Data Sources" I can not locate my db file, I saved it in the same directory as the Bibliography" but it does not show up so I can not select it. I know that I am using a Filemaker text file so perhaps that is the reason. Although I feel like I am just going about it incorrectly.

So in short, I am just confused but will spend some more time seeing if I can stumble across the correct path. Thanks for your replies, please let me know if you come up with any other suggestions on how I can get there.


That's right. I would suggest to read the Help info about databases from the Help menu, it's really helpful & describes each step: You have first to create a new database based on the text files(s) (or, see later in the post, spreadsheet), which will then be registered as datatasource & appear in the datasource panel.

If you go the text-file-route, some hints based on my tests:
<snip>
FileMaker version 8 allows exporting as MS Excel document, and importing that as database (spreadsheet) avoided all those problems. So I would suggest to go that route.

Martin Cool

Charles218, I would follow doctype's suggestions about going from FileMaker to Excel spreadsheet.

I wish I had more detailed hints but it's been a while since I used FileMaker. I have used Neo/OOo to access Spreadsheet & MySQL databases.
It is easier once you get all the steps completed. Hang in there and try again with very simple steps. I'm sure you will get it right.

Philip (So many options, too many reference docs! Wink )
Back to top
LemonAid
The Anomaly


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Wed May 31, 2006 12:21 am    Post subject:

Charles218, et al,

I found more links about Mail Merge:

old SIMPLE version that you can map to a custom menu item:
The Mystery of the Missing Mail Merge, by Solveig Haugland

COMPLEX version in 2.0
Step-by-step how-to, part one: OpenOffice 2.0's new mail merge tools by Solveig Haugland
This one looks too complex for me

Read anything you can find by Solveig Haugland. Mage of using OOo for documents!

Philip (thinks he has a ... crush on Solveig Haugland! Embarassed )
Back to top
Charles218
Blue Pill


Joined: May 27, 2006
Posts: 4
Location: Ann Arbor

PostPosted: Thu Jun 01, 2006 3:09 am    Post subject:

LemonAid wrote:
Charles218, et al,

I found more links about Mail Merge:

old SIMPLE version that you can map to a custom menu item:
The Mystery of the Missing Mail Merge, by Solveig Haugland

COMPLEX version in 2.0
Step-by-step how-to, part one: OpenOffice 2.0's new mail merge tools by Solveig Haugland
This one looks too complex for me



Martin,

This looks like what I need to get this done, now if I can just find the time to get at it. It will probably be the weekend before I can work on it, but the kind of instructions that she gives looks like it should work.

Thanks for your help!!!

Charles

Read anything you can find by Solveig Haugland. Mage of using OOo for documents!

Philip (thinks he has a ... crush on Solveig Haugland! Embarassed )
Back to top
doctype
Oracle


Joined: Dec 08, 2005
Posts: 291
Location: Berlin, Germany

PostPosted: Thu Jun 01, 2006 3:57 am    Post subject:

Charles218 wrote:
This looks like what I need to get this done


I think so, too. Especially interesting: The last paragraph on page 2 of Solveig Haugland's tutorial ("Creating a mail merge document from scratch") - I learned from there, that a run with the wizard is totally unnecessary. Simply drag fields from a data source into the document, if you're going to print the document, NeoOffice asks you to choose a range of rows from your database, and bing! you get your serial letter/document. Great.

Martin

// I'd like to be a "technical writer". Seems to be a great occupation. Cool
Back to top
LemonAid
The Anomaly


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Thu Jun 01, 2006 12:54 pm    Post subject:

doctype wrote:
Charles218 wrote:
This looks like what I need to get this done


I think so, too. Especially interesting: The last paragraph on page 2 of Solveig Haugland's tutorial ("Creating a mail merge document from scratch") - I learned from there, that a run with the wizard is totally unnecessary. Simply drag fields from a data source into the document, if you're going to print the document, NeoOffice asks you to choose a range of rows from your database, and bing! you get your serial letter/document. Great.

Martin

// I'd like to be a "technical writer". Seems to be a great occupation. Cool

Martin, As a BONUS - "Technical Writers" also get low pay for detailed and complex work. Crying or Very sad
What more could you ask for! Confused (Note: maybe not a low as a NeoOffice developer - tho! Wink )

I'm glad the Solveig Haugland's tutorial's were helpful. EVERY time I read one of them I learn something New! Even If I don't understand (or need) all the details. I'll keep posting items when I find them (or maybe we should just fill the Wiki with her links?!? ).

Philip (amazed at the amount, and quality, of resources available to the OOo community! Wink )
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
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
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.