« How to lay out a page using tables and two or more columns | Main | »

May 20, 2008

Getting the contents of a table or query into an OpenOffice.org Calc spreadsheet

For the longest time, the really easy way of bringing database content into a document didn't work in Calc spreadsheets. At least, not for me. But now in 2.4 it does. So here you go. It's the same approach you use in Writer, just a little more limited.

Choose View > Data sources or  press F4.

Expand the DB you want, then the table or query you want. Select the table or query name.

Click on the upper left corner as shown, the un-obvious little gray square.
Firstview  

Click and hold down and drag into the document. And you'll get your data.

Fullview


Traininglogo

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341cdb1753ef00e55248d4a38833

Listed below are links to weblogs that reference Getting the contents of a table or query into an OpenOffice.org Calc spreadsheet:

Comments

I guess data is not linked? If the data in database changes is it reflected in the spreadsheet? Is it possible to refresh data without manually dragging data again (refresh button? auto refresh? close&open spreadsheet document?) I badly need linking feature.

DataPilot is not what I need.

Hi "linked",

It isn't linked with this approach but it is if you do it this way

http://openoffice.blogs.com/openoffice/2007/05/wayyyyy_simpler.html

and choose to bring in the data as fields.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment