After installation of Open Office 4.1.7, you will get applications like OO Writer, OO calc and OO Base. To work with database open OO Base. Follow these steps to do so:
Step 1: Click on Start Menu.
Step 2: Find Open Office 4.1.7 and click on it.
Step 3: Now select Open Office Base.
Step 4: The database wizard will open to select or create a database.
If you are opening it first time select create a new database option and then follow the wizard instructions.
If you have already created a database select open an existing database file option and follow the wizard instructions.
Open an existing database in OO Base in wizard
Now OO Base will open, the interface of OO Base is something like below-given screenshot:
As the main parts of OO Base window are highlighted with numbers. They are as following:
This windows allows to select the database objects and you can do work upon. There are four basic icons available in this window:
All of these we will discuss in upcoming sessions.
Tasks Window
Description Window
Database Object Window
Properties window
Prepare a table structure on paper before creating a table in OO Base, Because it will asks to select a primary key other constraints, so define a primary key and assign the column otherwise OO base will add one column named ID when you save the table with your confirmation.
If primary key is not there, OO base won’t allow to insert records in the table.
1. Create table in Design View
Follow these steps to create a table in design view:
Now once table is created, it will appear in the objects window. Double click to open it and add records you want by typing them.
2. Use wizard to create table
The wizard allows to create a table from predefined sample tables with predefined fields. It is just like drag and drop type work where you have to choose the fields and other important things for your table. Follow these steps to create a table through wizard:
3. Create table using SQL commands
OO base also support SQL view to create a table. To work with SQL mode you need to install java jdk for proper command execution.
Steps:
create table "Students" ("RNO" integer primary key,"Sname" varchar(20), "DOA" date)
Points to be remembered:
4 videos|27 docs|8 tests
|
|
Explore Courses for Class 10 exam
|