On Fri, 9 Mar 2007 21:35:22 -0600
Dan Lewis <[EMAIL PROTECTED]> dijo:

> On Friday March  09 2007 8:58 pm, John Jason Jordan wrote:
> > I also know I am suppoed to do F4 to open the database window. The
> > window opens, but I cannot get the Calc document to appear in it. I
> > tried creating new databases, but that accomplishes nothing --
> > there are four now in the F4 window, and I also can't figure out
> > how to get rid of them.

>      In a nutshell,
> 1) File > New > Database
> 2) Select "Connect to an existing database" and change that drop down 
> choice from JDBC to Spreadsheet.
> 3) Click Next.
> 4) Browse to your Calc file.
> 5) Click Next.
> 6) Click Finish and name your database for the Calc file.
>      This should place this database in your Data window (F4) with a 
> table for each sheet of the Calc file.

Yay! The part I was missing was changing the dropdown from JDBC to
Spreadsheet.

>      Now you have two ways to enter information from the table into 
> Writer. 
>      Click the rectangle in the upper left corner of the table display 
> on the right side of the Data window. (This is above all the rows and 
> to the left of all of the columns.) It will highlight the entire 
> table. It will also highlight two icons: Data to text, and Data to 
> fields. (You will need Tips checked (ticked) in 
> Tools > Options > Openoffice.org > General to identify these icons by 
> putting the cursor over them.)
>      I think you will probably want to use the Data to text rather 
> than the Data to fields icon. You will also want to select just the 
> rows you want to copy to Writer before selecting Data to text. You 
> will be given some choices as to how you want the data to be entered 
> into Writer.

Thanks for the rest of the details also. Last time I did this was a
couple of years ago on OOo/Windows from an Access 2000 database. I knew
I had to click on the corner rectangle and drag it onto the Writer
document, but in my current version of OOo (2.0.4 on Ubuntu Edgy amd64)
the drag and drop feature is broken. But the Data to Text button still
got me the window where I can select the fields and I managed to merge
the data. 

Now I have one more problem: How to get the various "New Database-x"
out of the F4 window. They got in there as I kept trying to connect to
the spreadsheet. None of them has any data. There seems to be no way to
delete them. I would expect to select the "New Database-x," right-click
on it and be given a "Delete" option, but that doesn't work. I've read
the Help files, but connecting to and disconnecting from a database
remains mysterious.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to