Writer Guide
as Writer and Calc. You need to do this if you want to link your
forms into it.
4) Click Finish and save your new database, giving it a name.
Unlike creating other documents in OOo, databases must be
saved when you first create them.
After saving the database, you should see the main Base window
(Figure 410), which contains three panels. The left-hand panel is
Database, with icons for Tables, Queries, Forms and Reports.
Figure 410: Main Base window
The next step is to create a table. Again, this is covered in more detail
in Chapter 8 (Getting Started with Base) in the
Getting Started
guide.
Here we are going to create a small table as an example.
1) Choose Tables in the left-hand column, then choose Create
Table in Design View under Tasks.
2) Use the Table Design window (Figure 411) to tell Base which
fields to create. We will have just three fields: Name, Address,
and Telephone.
3) On the first line, enter under Field Name
ID
and set the Field
Type to
Integer [INTEGER]
. In the gray box at the left of the line,
right-click and select Primary Key, bringing up a key icon in the
box. In the Field Properties at the bottom of the window is an
Auto Value option; change this to
Yes
.
Chapter 15 Using Forms in Writer 481