Creating a New Database

From Apache OpenOffice Wiki
Jump to: navigation, search




Creating a New Database

To begin the process of making the example database, we will make a new Base file with the default configuration of embedded HSQL tables. Choose File → New → Database from the menu bar, or click the arrow next to the New icon on the Standard toolbar and select Database from the drop-down menu. Both methods open the Database Wizard.

On the first page of the Database Wizard, select Create a new database and then click  Next .

The second page has two questions. Make sure the choice for the first question is Yes, register the database for me and the choice for the second question is Open the database for editing. Click  Finish .

Documentation note.png If the database is not registered, it will not be accessible to the other AOO components such as Writer and Calc. If the database is registered, other components can access it. Registering the database only informs your local OpenOffice program that this Base file exists. No information is sent to any other program or outside your computer.

Save the new database with the name Finance. This opens the Finance – OpenOffice Base window. Figure 160 shows part of this window.

AOO41GS8 001.png
Figure 160: Creating database tables
Tip.png Every time the Finance Base file is opened, the Finance – OpenOffice Base window opens. Changes can then be made to the database. The title for this window is always <database name> – OpenOffice Base.


Documentation caution.png As you create a database, you should save your work regularly. This means more than just saving what you have just created. You must save the whole database as well. For some common tasks, Base opens a separate document window where you may, for example, design a Form to enter data. Saving the document in that window saves the Form inside the Base document, but you should then also save the Base document from its main window.
Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools