March 28, 2008

In OpenOffice mail merge documents, you see the field names like Name onscreen, not the data like Bob. The data appears when you print.

I just wanted to clarify something since I hate to see people thinking they're doing something wrong when they're doing it right.

Here's an example using labels.  This is how it's supposed to look. You won't see the data onscreen, you'll see the field names like first name. When you print, the correct data will appear.

Labels

If you don't know want to print all the data, you can pick the ones you want in this  window. Just choose File > Print, click yes that you want to print a form letter, and then select the records you want in this window. Select the first record, hold down Ctrl and select the next one, and so on.

Labels2

Or specify a range.

Labels3

Then just click OK.


February 05, 2008

A Huge Printable PDF Article on Advanced OpenOffice.org Report Techniques, Including SQL-Based Calculated Fields on Reports and Using the Next Record field (Repost)

I decided to repost this since it's got lots of really fun powerful NOT obvious technical stuff for reports.

---------------------------------------------------------------------

Here's the TOC.

A Quick Review of the Report Writer Tool

What You Can Do in the Query Design Tool and SQL View

What You Can Do With Report-Specific Fields

Quick-and-Dirty Reports

Creating Your Own Reports Using the Next Record Field

Powerful Reports Can Be Fun....If You Enjoy Getting Your Hands Dirty

 

Here's the link. It's a big PDF.


Traininglogo




November 27, 2007

Rough Draft: Video Tutorial of Creating a Database and Simple Mail Merge

This is not fancy. There are a couple goofs. But it is accurate, and it's a video. Let me know how you like it!

~~~~~
I realize the size is quite big -- one thing that isn't obvious because of that is the navigation tools way at the bottom. (I'm pretty sure that they show up for everyone; I hope they're not just appearing for me somehow because I have Captivate installed.)

August 13, 2007

Printing Envelopes in OpenOffice.org Writer (Repost)

I ran into Christian Einfeldt at Linuxworld, who mentioned that he had some questions about printing  envelopes. It's a good perennial topic, so I'm rereposting.


(Originally posted December 2, 2005)

I get a lot of questions about envelopes. A lot. I wrote an article for TechTarget.com about how to do envelopes in OpenOffice.org 2.0.

I included some templates there; here are the same envelope templates for OpenOffice.org 2.0.


The article is long and detailed. Here are the key points.


  • You need to get to know your printer and let it know to expect envelope shapes, not letter or A4 shapes.

  • You also need to fiddle around for a while and figure out where--left, right, perpendicular, parallel--in the tray your printer expects envelopes. Buy a box of cheap envelopes and expect to waste a few while you experiment.

  • Then make sure that your envelope document is set up to print to the envelope size your printer is expecting. Envelope 10 is good.

  • You can type in your data for the envelope or use a data source. My article goes over both.
  • The simplest way is to just choose File > New > Envelope, then Format > Page Size and instead of Letter or A4, choose Envelope 10 and change the orientation to landscape.  Then either with standard margin formatting or with frames, put the text where you want.
  • As another way to create the envelope document, you can also choose Insert > Envelope, and use the three-tabbed window that appears.
  • Print the envelopes separately from your letter or other document that goes with the envelope. It complicates things too much with the paper size that the printer expects.

Then just print the envelope. (If you're using data sources, click Yes in the dialog box that appears asking if you want to print a form letter.)

The next time you want envelopes, just use that same document you already created, and change the addresses. Either save the document in myimportantdocuments\envelopes, or if you're a template kind of person, make it a template. (File > Templates > Save, select a category and name the template, then choose File > New > Templates and Documents and pick your envelope template.

Note: Doing it in 2.0 is quite similar to how to do it in OpenOffice.org 1.1. Here are my posts how to do that; they're excerpted from my OpenOffice.org workbooks.


Tip on Printer Setup

Some of the pain of envelopes is the printer setup. Here's a GREAT tip from Miriam:
"I just read your envelope printing tip. Instead of constantly changing and checking the printer settings, I add another instance of the printer, configure it for envelopes and name it "envelope." When I want to print an envelope I choose this printer instead of the default one. That way my settings are always the same."

Envelope Mantra
Here's the other main point I want to make sure everyone understands.

Envelopes aren't too bad once you figure out how to do it the first time. Honest.



Traininglogo




August 09, 2007

A Huge Printable PDF Article on Advanced Report Techniques, Including SQL-Based Calculated Fields on Reports

I realized that while this was published on TechTarget, I hadn't made much of a big deal of it here.

Here it is. Lots of fun, techy stuff about reports. Here's the TOC.

A Quick Review of the Report Writer Tool

What You Can Do in the Query Design Tool and SQL View

What You Can Do With Report-Specific Fields

Quick-and-Dirty Reports

Creating Your Own Reports Using the Next Record Field

Powerful Reports Can Be Fun....If You Enjoy Getting Your Hands Dirty

 

Here's the link. It's a big PDF.


Traininglogo




May 21, 2007

Much easier, much simpler ways to print the contents of a database in OpenOffice.org Base

Logo_easierway

I've been so caught up in the complicated tools and cool hacks that I've forgotten about the really simple ways to get data from a database into a Writer document.

I'm so embarrassed.

Here's a simple way to bring in data, whether it's still in fields, or just plain text. You probably want to use this instead of the Reports feature, and instead of the Next Record field under Insert > Fields > Other, Database tab.

Here are some screen shots. I'll do more on this later but I just wanted to slap these options out there so you know about them.

Click any of the screen shots to see them bigger and in more detail.

1. Create a new text document and choose F4.

2. Click the + by your database, click the + by the word Table (or Query) and click the table or query you want to print.
Drag1

3. Click the blank gray square shown, to the left of the first fieldname.
Drag2

4. Click and hold down on that gray square and drag into the document.

5. Now you have various options.
Drag3

Pick the option you want, insert the fields you want, apply any relevant formatting, and click OK.

Table

Drag4table

Drag4table2

Fields

Drag5fields

Drag5fields2

Text

Drag6text

Drag6text2

Then print. If you bring in the data in fields, when you choose Print, click Yes when prompted and DON'T click the checkbox.)

Print

Again, if you're printing in fields, you cna print to files or a printer. To select specific records, select the first record, hold down Ctrl, select another record, and so on.

Print2

 

 


Traininglogo



May 03, 2007

Updating the Preview in Your Mail Merge Docs so You See Different Data in Every Field

This is a very specific but annoying problem for which I've found a workaround (thanks to the smart folks in the training department at MASCO! ;> ).

A Little Background: Synchronize
So, you've got a mail merge doc. It's labels. You've set it up to Synchronize, so that when you make a change to the upper left address and click Synchronize, all other addresses take on the same updates. I.e. if you make the text blue, or insert a graphic, or whatever, you just make the change in one place and it updates all the others. This is a very nice feature.

Here's where you set synchronize. File > New > Labels, and in the Options tab select Synchronize contents.

Synchsetup

Here's what a new sheet of labels looks like with the Synchronize floating button:
Synchuse1

Here's what it looks like when you change the formatting for the upper left address:
Synchuse2

Here's what it looks like when you then click Synchronize:
Synchuse3

A Little Background: Preview
As you can see above, you see the field names, not the field contents, in mail merge documents. To see the contents, press F4 to view your data sources. Expand the data source you're using, select the table you're using, click the blank gray box that's circled to select all the rows, and click the also-circled icon called Data to Fields.

Here's what it all looks like.

Previewcircled

But! What Happens When You Preview, Then Synchronize???????

Let's say you've previewed so you can see the data .Then you think, "Hey, the font needs to be different, and I want it to be green." So you make that change to the upper left frame like normal, you click Synchronize....and you get this. All the content is the same.

Synchpreviewbad

Don't Worry: It's Easy to Fix
You just click that same Data to Fields icon. Select all the data just like before, click the Data to Fields icon again, and this refreshes the display and gives you back the normal content.

Goodcircled




Traininglogo



May 02, 2007

Suppressing Blank Address2 Fields in OpenOffice.org Labels, Envelopes, or Other Documents, for Mail Merges

Here it is -- suppressing a blank Address2 field in your mail merges. It's not extremely simple, but it's reasonably straightforward and it works.

Here's the situation we're addressing. Sometimes your addresses have two lines for the address part, sometimes they don't.

Bob Jones
101 Main
Suite 55
Boulder, CO 80022

Marion Silverman
888 105th Ave
Broomfield, CO 82211

But you have to put in the <Address2> field for everybody, since it's a mail merge. The setup has to be the same.

<Firstname> <Lastname>
<Address1>
<Address2>
<City>, <State>, <Zip>

But with this approach, your addresses look like this.

Bob Jones
101 Main
Suite 55
Boulder, CO 80022

Marion Silverman
888 105th Ave

Broomfield, CO 82211

Ick. How do you suppress that second Address2 line and the corresponding carriage return if there's no content for a particular record, for that Addres2 field?

Select the Address2 field in your mail merge document, choose Insert > Section, and create a conditionally hidden section with this formula.

databasename.tablename.fieldname EQ ""

Here are the details, using an example of labels.

1. Create the labels for mail merge as usual. File > New > Labels, select your database and tables, insert the fields, etc.
Sup1

2. Choose the Synchronize Contents checkbox.

Sup2

3. Click New Document.

4. Here are the labels.
Sup3

5. Turn on nonprinting characters if they're not on already.
Sup4_2

6. Select the first soft return, shown selected.
Sup5

7. Press Return or Enter to replace it with a hard return.
Sup6

8. Repeat, to make them all hard returns.
Sup7

9. Click Synchronize to update the other labels to be the same.
Sup8

10. Select the Address2 field.
Sup9

11. Choose Insert > Section.

12. Name the section Suppress. Select the Hide checkbox and type the following condition. The screen shot shows the syntax.

Syntax
databasename.tablename.fieldname EQ ""    (the last part is two double quotes together)


Example
databasewithtwoaddresslines.Table1.Address2 EQ ""

NOTE: if you are using the Thunderbird address book as a data source, you need to use square brackets if the field name includes a space (i. e.: [Address 2]=="") to hide the second line of the address if it the Address 2 field is blank.)  I would suggest in general avoiding field, table, or database names with spaces.

http://www.oooforum.org/forum/viewtopic.phtml?t=43528&highlight=

Click the screen shot to see it bigger. It shows the syntax, not an actual example.

Sup10formulasyntax

13. Click Insert.

14. Click Synchronize.

15. Now preview the data or print the data and you'll see that it prints correctly.
Previewgoodresults

15. If you need to change the section, select it in the first address and choose Format > Section. Select the one named Suppress for the master label and make changes, then click OK. Click Synchronize again in the labels.
Modifythesection


Traininglogo




April 27, 2007

Beware! Saving in Word format, and mail merges, don't mix.

Mail merges don't work if you're saving your OpenOffice document in Microsoft Word format.

Whether you're doing this manually, or doing it with the window under Tools > Options > Load/Save > General, saving in Word format will strip out the mail merge fields' connection to the database.

So you can save in .doc by default, but you need to save the mail merge documents, whether they're labels, envelopes, or other documents, in OpenOffice.org native .odt format.



April 06, 2007

Farrrrrr Simpler Exporting Data From OpenOffice Base to a Spreadsheet

Stop the presses. Forget that one article I wrote.

In OpenOffice.org 2.2 you can now export data in a very reasonable manner. Almost identical to the (albeit invisible) import method.

  1. Open your database .odb file.
  2. Click the Tables icon.
  3. Right-click on the name of the table to export. Choose Copy.Copy
  4. Go to a spreadsheet. Paste.

The data will appear.

It's so beautiful and simple.




 

March 30, 2007

Printing Exactly the Records You Want to Print for a Mail Merge in OpenOffice Labels, Envelopes, or other Documents

Used to be, it was hard to just print the records you wanted to print in a mail merge, in OpenOffice.org mail merges.

Bob  Jones   121 Ludlow
Marie Hanson  1688 Oak
Kathy Bates  88 Pearl

What if you're mad at Marie, though, as well as Jean, John, and Xavier,  and just want to print a holiday letter to Bob and to Kathy and the other 119 people in your list who you're still speaking to?

You had to either go through the HUGE and complex mail merge wizard, or just print a letter each for Marie, Jean, John, and Xavier, and throw them away.

However, in 2.something of OpenOffice.org, you can just Ctrl - Select the records to print.

1. Make your mail merge document: labels, letter, envelopes, whatever.

Print1

2. Choose File > Print and say Yes, you want to print a form letter. NEVER mark the checkbox.

Print2

3. In the window that appears, you can scroll down to view the database and table you're using at the left side. This isn't necessary but it might help you feel more organized.

4. Click on the light gray box next to the first record you want to print.  Hold down Ctrl and click on the light gray box next to the next record you want to print. And so on.

Print4

You'll see that at the left side,  Selected Records is now marked.

5. Now just select Printer or File to print as you normally would, and click OK. The normal printing window will appear if you select Printer.

Print5




 

January 23, 2007

Mail Merge in OpenOffice Writer: Creating Mail Merge Documents From Text/CSV or Spreadsheets

I've got a lot of info out there, including lots of coverage in my book, about mail merges. However, I don't have a nice simple straightforward blog on it with everything in the same place all spelled out. Didn't, that is. This is all you need to do to make a nice simple document based on data in text files or spreadsheets.

What You Have to Do

1. Get your data. You've already got it, probably. This blog  is for people with data in text files, and in spreadsheets.

2. Turn it into a data source.

3. Create your mail merge document and suck the data in through the data source.

4. Print, specifying how many of the data records you want to print for, and whether to print to a file or printer.

1. Get Your Data

You probably already have it. It's in a .txt file or .csv that's comma or tab separated, perhaps. Or it's just a spreadsheet.

2. Make the Data Source: Text File Instructions

If your data is in text files, follow these steps.

1. Choose File > New > Database.

2. Make the selection shown, with Text as the format.

Text1_1

3. Click Next.

4. Specify the DIRECTORY where the text files are. Each text file in that directory will be a table in your database. Then select the item separating fields, i.e. a tab or comma or something else.

Text2_1

5. When all the settings look correct, click Next.

6. Umark the option to open the database for editing. You can open it; you just don't have to.

Text3

7. Click Next.

8. Save the data source (aka database) under a name that will help you remember what it is.

Text4_1

You're done.

2. Make the Data Source: Spreadsheet Instructions

If your data is in a spreadsheet, follow these steps.

1. Choose File > New > Database.

2. Make the selection shown, with Spreadsheet as the format.

Ss1 

3. Click Next.

4. Specify the spreadsheet file. Each SHEET in that spreadsheet will be a table in your database.

Ss2 

5. Click Next.

6. Umark the option to open the database for editing. You can open it; you just don't have to.

Ss3 

7. Click Next.

8. Save the data source (aka database) under a name that will help you remember what it is.
 

You're done.

3. Create Your Mail Merge Document and Suck the Data In From the Datasource

You can also use the simple or complex mail merge.

Simple:  http://openoffice.blogs.com/openoffice/2006/03/techtarget_arti_1.html

Complex: http://openoffice.blogs.com/openoffice/2006/02/techtarget_arti.html

But this is a nice way to do it too.

1. Create a new Writer document or open a document containing text that you want in the mail merge document.

2. Choose View > Data Sources. Everything you've created will be displayed. Click the + sign by the data source you want to use, then click + by Tables til you see the data you want to use.

Doc1

3. Type any content you want and do any formatting. You can do this later too.

Doc2

4. Click on the NAME OF THE FIELD, not the piece of data, that you want in the mail merge.

Doc3_1

5. Drag it into the document and release. The field name will appear.

Doc4_1 

6. Add any other content and fields you want.

Doc5

Save the document. You're ready to print.

4. Print the Mail Merge Document.

1. Choose File > Print.

2. You'll see this message. Click Yes. DON'T MARK THE CHECKBOX SAYING YOU DON'T WANT TO SEE THE MESSAGE AGAIN.

Print1

3. In the print window, specify the range of records, if you don't want them all, and specify to print to a printer, or to files.

Print2

4. Click OK.

5. In the print window, specify the printer and click Print.

Print3




December 12, 2006

Modify the Layout of Prefab OpenOffice Labels Under File > New > Labels

Note: For other label tweaking tips, click here and here.

I was just putting together the mailing labels for my books (thanks everyone!) and the 8163 label layout built into OpenOffice.org was too wide for my printer.

What to do?

Changing the margins seems like the first thing to do. But when I do that, the layout skews. The page thinks there isn't enough room for both columns of labels so the second column of labels jumps to the second page.

Then I thought, well, I'll  shrink the width of the little frame things that the text is in.

When you try to do that, though, you get the Ghostbusters symbol that indicates "no changing anything here, buddy."
Ghostbusters

However, you can change the frame so that its size and position are no longer protected.

Some of you, reading along, are saying, "Um, Solveig....there's that adjustment window in the freakin' label creation window for just such purposes. Why not use that?" That's a good one too. ;> If you haven't already typed or pasted a lot of content into your actual label document, at least.

So here are some ways to tweak your labels. These apply to the prefab ones used through the File > New > Labels window. The ones you get from WorldLabel are made from tables, not frames, so the font modification items might work but the frame stuff is irrelevant.

Tweaking Label Size in the Label Window Before You Create the Label Document

Choose File > New > Labels.

Select the correct page size and label number, such as Letter and 8163.

Click the Format tab.

Pitch1

The Left Margin field is what you want to increase, if the left side of your labels are getting cut off. Increase it just a tad, perhaps to .3.  Or if your margins are getting cut off on top, change the Top Margin measurement. Then click New Document to create the label, if you're ready.

Pitch2

The new label document will have a slightly bigger  margin to give you some breathing room. (Or it will otherwise reflect the change you made in the Format tab.)

Pitch3


Tweaking Already-Created Label Documents

If you've got your document and you don't want to re-create it, here's some stuff you can do. Be forewarned that it is harder to control than the previous approach.

Here's the sample I'm working with; there's content only in the top two rows just from sheer laziness on my part. ;>
Mod0exampleofstarting

Right-click on the top left frame and choose Frame.
Mod1

In the Frame window, go to the Options tab and unmark the Size and Position checkboxes.
Mod3

Click OK.

If you want, you can just physically drag the frames one by one. Or use this approach to modify their dimensions all at once.

Choose Format > Styles and Formatting. Be sure that Frame styles are displayed. Right-click on the Labels style and choose Modify.
Labelsmodify

Now you can do whatever works in your layout. Make the label slightly narrower, perhaps 3.75  or 3.8.

Mod10changeto375

Click OK. This will update the measurements of all the frames.

Choose Format > Page. In the Page tab, set the left margin to something a tad larger, like .3. Make sure the right-hand margin is .01 or something similarly small. You want to make sure there's enough room on the left side to get all your content in on the left without it being cut off and a too-wide right margin will goof that up.

Pagelayout

Click OK.

Your labels should have a little more space on the left now, without the content being cut off.

Alternate Approach to Indenting Text From Left
I tried this once but the frames went kaflooie. Then I tried it again and it was fine. See how it works for you.

If you haven't selected the Synchronize checkbox, use this approach to quickly reformat. Choose Format > Styles and Formatting. Be sure paragraph styles are showing, and that all of them are showing.

Right-click on Default and choose Modify.
Modifydefaultparaformat

Now you can update the Default style, used by the label text.  In the Indents and Spacing tab, specify a left indent of .2 or .3.
Indentpara

Click OK.  All label formatting will be updated to add more space to the left.

 

One-Step Reformatting of Label Contents
If you haven't selected the Synchronize checkbox, use this approach to quickly reformat: make all your label content 17 point red Arial Bold or whatever you want.

Choose Format > Styles and Formatting. Be sure paragraph styles are showing, and that all of them are showing.

Right-click on Default and choose Modify.
Modifydefaultparaformat

Now you can update the Default style, used by the label text.  In the Font tab you can of course change the font.

Click OK.  All label formatting will be updated.


November 15, 2006

UPDATED AND CORRECTED APRIL 6 2007: Getting Data Back Out of OpenOffice Base (not exporting, exactly, but pulling the data kicking and screaming)

Logo_datainandout


THIS IS NOT THE BEST WAY TO DO IT. IN OPENOFFICE.ORG 2.2 THERE IS A BEAUTIFUL AND SIMPLE WAY. Click here.

Note: Having clearly labeled import and export features for Base has been proposed and you can vote for it by clicking one of the following links. Here's how to make things work until the features are implemented and put into the next build.

Vote for adding a wizard to import data into Base
http://qa.openoffice.org/issues/show_bug.cgi?id=51904

Utility to export CSV from Base
http://wiki.services.openoffice.org/wiki/CSV_export


In Base, simple features like, oh, Import and Export, are cleverly hidden. I've written an article on how to get your data in a Base database table, query, or view, out into the cold light of day so you can have it in a table, spreadsheet, or delimited text file.

Here's the article on bringing the data kicking and screaming out of OpenOffice.org Base.
http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1226457,00.html

Here's the related article on the cleverly disguised import function, for getting data from a spreadsheet, Access, or another database into an OpenOffice Base database.
http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1222186,00.html

 


November 08, 2006

Turning data into information with functions in OpenOffice Base

I've written an article for TechTarget on how to use the functions such as Sum and Max in OpenOffice.org Base queries and views.

It took me a while to grok how to use these -- the difficulty is not in applying the functions, but in the kind of data you can use the functions with, and the Group function that needs to be applied along with Sum, Max, or whatever you're using.

Functions

 


November 06, 2006

More on the Data Pilot: Analyzing a Data Source/Database

Logodatapilotdatabase_2  

It's time for more data pilot adventures.

I blogged here about the data pilot. The example I used there was for analyzing data in your spreadsheet. You also, of course, have the option of analyzing, using the data pilot, any of your data sources. You'd want to analyze a data source rather than a spreadsheet for many reasons-- perhaps the data is in Access and not in a spreadsheet. Or the spreadsheet is just realllllly big and you don't want to have to open it every time you want to run data pilot on it.

 

Here's my sample data for this blog. Just a nice basic set of data for a week. It's similar but different to what I used in the previous blog and more suitable for demoing the different options. Click to see it bigger.

Db1

The first step, of course, is to make sure you have a data source. (Or database—it's all kind of the same thing.) If you already have your data in Access or another database, you'd skip this, of course. However, let's say that this spreadsheet is extremely large and I need to make a database out of it to save time.

Here's what you do to create a database from a spreadsheet; using a different type of data is pretty similar.

1. Choose File > New > Database.

2. In the window that appears, select the last radio button, and Spreadsheet as the type. Click Next.
Dbcreate1

3. In the next window, just specify where the spreadsheet is that you want to turn into a database. Click Next.

Dbcreate2

4. Unmark the Open for Editing option and click Finish.

Dbcreate4

5. Save the database with an obvious name. This is the name you'll be selecting from dropdown lists in OpenOffice.org.

Dbcreate5

Now you've got a database.

 

To analyze a database, start the same way as usual.

1. Open a new empty spreadsheet and choose Data > Data Pilot > Start.

Db2_1

2. Choose to use a data source already registered with OpenOffice.org. Click OK.

Db3_2

3. Select the data source name, then the sheet name (typically Sheet1) where your data is, and specify Sheet as the type of data. Click OK.

Db4

4. Now you're ready to drag fields into the layout area and set options as you have with other analyses. This time, I'm using the Date fields as the quick filter field, so I put it in the Page area. The rest is as pictured.

Dbsetup1

  • I double-clicked the Units Sold field and selected Average. In the results, we'll see the average for each book and store, not the total.
  • For options, I'm choosing to identify categories, and to sum rows and columns.

<>

 

Click OK.

 

Here are the results of the setup shown above.

Dbresults1_1


October 30, 2006

New OpenOffice Base Database Workbook

I've finished my Base workbook!

Databaseworkbook_1

Click here to see the TOC.

For the rest of the year it's at a Special Introductory Price of just $15. Feel free to provide suggestions or corrections for what to add to it. I'm not a DBA so would appreciate information on what additional tasks would be most useful with the tools in Base.


October 26, 2006

How to Get the "Do You Want to Print a Form Letter?" Message Back for OpenOffice Mail Merges

If you've done mail merges before, you've seen this message.

 Message_3

What you should do, every time, is to click Yes and leave everything else alone. Then the mail merge will print with the contents of your data source.

What would make sense is to mark the Do Not Show Warning Again checkbox and click Yes, thinking that every time thereafter you'll be able to print the mailmerge correctly, with the contents of your data source, just like you did this time, but without that pesky message popping up.

Messagewithcheckbox

You'd be logical, but you'd also be wrong because of the wacky design of the program. If you mark the checkmark, then from that day forward you will print, instead of a mail merge, a list of fields like <Firstname> and <Lastname>.

So:
How do you get that dialog box to come back so you can print a mail merge correctly?

Answer: Here's how it's supposed to work. People say this works. I can't find a file with the relevant flag in it on my machine but if it works for you, great. It should work.

<< Reader David Beroff offers some fine suggestions after his successful implementation, which I have updated the instructions with.>>

1. Close OpenOffice.org.

2. Find the Writer.xcu file. It's in one of these locations.

~/.ooo-2.0-pre/user/registry/data/org/openoffice/Office/Writer.xcu

Documents and Settings\[users]\Application Data\OpenOffice.org2\  user\registry\data\org\openoffice\Office\Writer.xcu

3. Make a backup copy of it. Just copy the file in your file manager and paste it somewhere else.

4. Open it with an Ascii editor (i.e Notepad or 1stPage or some such program.)

5. Look for <prop oor:name="AskForMerge">  and set the value to true. To do this, look for "AskForMerge=False"  and type "True" where it says "False."

6. Save the file.

Now you'll get the message popping up again when you print a mail merge. Leave the checkbox alone and click Yes, and you're golden.

 


October 23, 2006

Another Mystery Solved: Getting Data Into an OpenOffice.org Base Database

Logo_getdataout

---------
Vote for adding a wizard to import data into Base
http://qa.openoffice.org/issues/show_bug.cgi?id=51904

Utility to export CSV from Base
http://wiki.services.openoffice.org/wiki/CSV_export
---------

I swear, my shift and matching pumps are getting a little worn out with all this detective work.

I've written an article for TechTarget about how to get data out of one database, such as Access, into an OpenOffice database table. Not exactly obvious, but easy.  You just need to know what to do. (And I'm pleased to say that my mantra, "When in doubt, right-click," does apply here.  ;>  )

(You can of course just type from scratch but when you've got 50,000 records of census data, for instance, that's kind of impractical.)


September 12, 2006

Making It Easy for Your Organization to Work With Microsoft Office Users

Logo_email_1

One of the issues you face when you switch your organization to OpenOffice.org is: how do the users work with MS Office users?

If Angie down at the courthouse needs a document that your clerk Rob created, how does Rob send Angie what she needs? Especially if Rob isn't very experienced with file formats, attaching documents to emails, and so on?

You do this.
1. Set up everyone's computers to save by default in MS Office format. Then they don't need to even worry about sending Angie the file in the right format.

2. You set up everyone's default email program.

3. You train everyone to send out documents using one of the options under File > Send. You might even create a new toolbar with those options more clearly expressed.

See this blog for info on modifying toolbars/menus in general and this blog, from Monday, on how to add the two new items.

1. Setting Your Default Email Program

I've mentioned it before, but have forgotten about it since blogging ;>  so it bears mentioning again. When you choose File > Send > Document as Email or File > Send > Document as PDF Attachment, the default email program starts. How do you specify it? It's usually not right, for one thing, since Yahoo starts by default on my desktop and (oorgh) Outlook starts on my laptop.

The online help for OpenOffice says to look for the External Programs setting. However, there is no such thing. You set your default program by setting it in your operating system. For me, it's under Internet options in my control panel.

Defaultemailsetup

2. Set Up Everyone to Save in MS Office Format

If you work with people who aren't familiar with saving files in different formats, or if you just think it would be easier for you, set up everyone's computers like this.

Tools > Options > Load/Save > General.

In the area toward the bottom, select Text Document, then in the corresponding dropdown list, select the Microsoft Word format. Click the image to see a larger version.

Setupsaveasmsoffice

Repeat for each file format in the Document Type list, then click OK to close the window and save changes.

3. Use the File > Send Features As Much As You Can
I love these features. They make working with non-OpenOffice users so much easier. Plus there's a new one this release in 2.0.3 -- too bad they didn't put it on the menu.  ;>  However it's easy to do yourself.  Click the image to see a larger version of the menu options as they are by default.

Sendmenu

Document as Email starts your default email program, and attaches a copy of the current document to that email. All the user needs to do is address the email and enter content like "Angie, here's the document you wanted." If you're set up to save in MS formats, then the doc of course is in the appropriate MS format.

Senddoc

Email as PDF does the same thing, but makes a PDF version of the current document, and attaches that to the email.  This is great if Angie down at the courthouse doesn't need to edit the document, or if you realllllly don't want her to.

There are two other new ones, Email as Microsoft Word and Email as OpenDocument Text. See the related blog for how to add those to the menu, or to a menu that you create yourself. You can also of course rename those options to make them clearer for users.

Send4

There you go -- those are three steps that will make interacting with MS Office users much simpler. Less training, fewer complications, and less confusion about where various files went.


September 11, 2006

Nancy Drew Rides Again: Adding Two New and Wonderful Email Options to the OpenOffice Menu

Logond

First they take the simple but elegant mail merge option off the Tools menu, and now this.

There are two wonderful, extremely useful, much-requested features in OpenOffice 2.0.3.

  • Email as Microsoft Word
  • Email as OpenDocument Text

These are in addition to the existing ones:

  • Send Document as PDF Attachment
  • Send Document as Email

If you're working in some text document, the Email as Microsoft Word  option will take your current doc, make a MS Word version of it, start your default email program, and attach the MS Word copy to a new email document. 

Msword

The Email as OpenDocument Text option does the same thing, but the attachment is in OpenOffice text format regardless of the format of the current document.

Send Document as Email -- This one does pretty much the same thing, but it just uses the format of the document you're working in. If you're working in MS Doc format, the attachment is .doc and if you're working in OpenOffice,  the attachment is  OpenOffice.

Send Document as PDF Attachment -- This one does the same thing but creates a PDF copy of your document .

Can you see how incredibly useful these are? They're great for working with MS Office users within or outside your organization. Combine them with File > Send > Document as PDF Attachment and you're golden. (See this blog on setting up openoffice for easier use for inexperienced users for more info on that.)

But how do you get them on the menu? They're there -- you just can't see them.

Here's how. I'll show you how to add them to File > Send, and I'll also show you how to create a whole separate menu to add them to. If you're working with inexperienced users in your organization, the latter might be more helpful for them.

Adding the Two New Items to the File > Send Menu to Join the Other Similar Options
Choose Tools > Customize.

Click the Menus tab.

Select the File | Send menu.

Add1

Click Add.

In the window that appears, find Document on the left and the indicated menu item on the right. Click Add.

Add2_1

Select the other option, Email as OpenDocument Text, and click Add.

Add3

Close the window.

In the original window you'll see the two newly added items.

Add4

Click OK.

Choose File > Send and you'll see all the items.

Add5

 

Adding the Two New Items to the File > Send Menu to Join the Other Similar Options

Here's how to make a special menu to put these items on. It might be simpler for your users if there were a specific menu for these items.

Choose Tools > Customize.

Click the Menus tab.