Download - MELJUN CORTES Open Office Lecture
![Page 1: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/1.jpg)
WORKING WITH OPENOFFICE.ORG BASE
MELJUN CORTESMELJUN CORTES
![Page 2: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/2.jpg)
2
OPENOFFICE.ORG BASEOPENOFFICE.ORG BASEIt is the Database component of the OpenOffice.org.
It is the counterpart of Microsoft Access.
Allows the creation and manipulation of databases, and the building of forms and reports to provide easy access to data for end-users.
It may be used as a front-end to a number of different database systems, including Access databases (JET), ODBC data sources and MySQL/PostgreSQL.
![Page 3: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/3.jpg)
3
![Page 4: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/4.jpg)
4
CREATING A DATABASE IN CREATING A DATABASE IN OPENOFFICE.ORG BASEOPENOFFICE.ORG BASE
![Page 5: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/5.jpg)
5
In the Database Wizard, select the Create a new database option and click the Next button.
![Page 6: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/6.jpg)
6
Select the No, do not register the database option and check the Open the database for editing checkbox. Then, click the Finish button.
![Page 7: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/7.jpg)
7
In the Save in pull down box, choose the folder where you will save the database.
![Page 8: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/8.jpg)
8
OpenOffice.org Base window will now appear on-screen.
DATABASE PANE
TASK PANE
FORM PANE
STANDARD BAR
TABLE BAR
![Page 9: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/9.jpg)
9
CREATING TABLE USING CREATING TABLE USING THE DESIGN VIEWTHE DESIGN VIEW
Click the Tables in the Database pane. Then in the Task pane, click the Create Table in Design View.
The Table Design view will appear. Type the following fields, their data types and descriptions as shown on the next Figure except the Student ID. In their Field Properties change the Entry Required to Yes.
Click the File menu and Save command or click the Save button to save your table.
![Page 10: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/10.jpg)
10
![Page 11: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/11.jpg)
11
A message box will appear asking if you want to create a primary key now. Click the Yes button.
Change the primary key field ID to StudentID. In the Field Properties, change the Field Format example to 0000-000000. Press the Ctrl+Shift+S or click the Save button to resave the table.
Click the File menu and Close command to close the table. You will now go back to the OpenOffice.org Base main window.
Double click the table you previously saved and you will now see the datasheet. Type the following records:
![Page 12: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/12.jpg)
12
![Page 13: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/13.jpg)
13
Save and close your table. Then, make sure to save your database before you quit OpenOffice.org Base.
![Page 14: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/14.jpg)
14
Click the Tables in the Database pane. Then in the Tasks pane, click the Use Wizard to Create Table. The Table Wizard will then appear.
CREATING TABLE USING CREATING TABLE USING THE TABLE WIZARDTHE TABLE WIZARD
![Page 15: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/15.jpg)
15
In the Table Wizard, select the Employees in the Sample tables. Select the following fields: EmployeeID, FirstName, MiddleName, LastName, Address, City, PhoneNumber and EmailAddress. Then, click the Next>> button.
![Page 16: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/16.jpg)
16
In the Set types and formats, change the EmployeeID field to StudentID. In the PhoneNumber, change the field type to Integer. Change all the Entry Required to Yes. Then, click the Next>> button.
![Page 17: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/17.jpg)
17
In the Set primary key, select the Use an existing field as primary key option and StudentID in the Fieldname. Then, click the Next>> button.
![Page 18: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/18.jpg)
18
In Create table, name your table. Select the Insert data immediately and the Modify the table design options. Then, click the Finish button.
![Page 19: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/19.jpg)
19
The Table design view will appear. Change the Format example to 0000-000000 in Field Properties of StudentID. Click the Save button to resave the table then close the table.
![Page 20: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/20.jpg)
20
Double click the 2nd table and type the following records.
Make sure to press Ctrl+S or click the Save Current Record button to save your table.
Close the table after typing.
![Page 21: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/21.jpg)
21
![Page 22: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/22.jpg)
22
MODIFYING THE FIELD MODIFYING THE FIELD PROPERTIESPROPERTIES
Click the Tables in the Database pane. Then, in the Tables pane, right click the first table (e.g. TB01RA28) then choose the Edit command. The Table Design will then appear.
In the Table Design, click each given field name and modify the field properties as shown in the next table.
![Page 23: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/23.jpg)
23
![Page 24: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/24.jpg)
24
Modify the field properties on the second table (e.g. TB02RA28). Save and close the table design.
![Page 25: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/25.jpg)
25
CREATING QUERIES USING CREATING QUERIES USING THE DESIGN VIEWTHE DESIGN VIEWClick the Queries in the Database pane. Then, in the Tasks pane, click the Create Query in the Design View. The Add Table or Query dialog box will then appear.
![Page 26: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/26.jpg)
26
In the Add Table or Query dialog box, make sure to select the Tables option and the table you need. Then, click the Add button.
Once you see a miniature copy of the table appear in the screen, click the Close button.
![Page 27: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/27.jpg)
27
Select the Fields, Tables, Sort, Visible and the criteria that you need for the query.
![Page 28: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/28.jpg)
28
Click the Edit menu and Run Query command. The output of query will now appear.
![Page 29: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/29.jpg)
29
Press Ctrl+S to save the query. Click the OK button.
Close the query.
![Page 30: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/30.jpg)
30
Click the Queries in the Database pane. Then, in the Tasks pane, click the Create Query in the Design View. The Add Table or Query dialog box will then appear.
CREATING QUERIES USING CREATING QUERIES USING THE QUERY WIZARDTHE QUERY WIZARD
![Page 31: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/31.jpg)
31
In the Query Wizard, make sure to select the table you need in the Tables scroll box. To select all the fields, click the Select All >> button. Then, click the Next button.
![Page 32: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/32.jpg)
32
Sort the table by City in ascending order and by StudentID in descending order. Then, click the Next button.
![Page 33: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/33.jpg)
33
Select the option Match all of the following. Choose City in the Fields scroll box. Choose is equal to in Condition and in the Value, type Manila. Then, click the Next button.
![Page 34: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/34.jpg)
34
Select the Detailed query option. Then, click the Next button.
![Page 35: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/35.jpg)
35
In the Alias, do not change anything. Then, click the Next button.
![Page 36: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/36.jpg)
36
In the Name of the query, type the query name. Select the Display Query option. Then, click the Finish button.
![Page 37: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/37.jpg)
37
The result of the query will now appear.
![Page 38: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/38.jpg)
38
CREATING A FORM USING CREATING A FORM USING THE FORM WIZARDTHE FORM WIZARDClick the Forms in the Database pane. Then, in the Tasks pane, click the Use Wizard to Create Form. The text area of OpenOffice.org Writer will then appear on the background together with the Form Wizard dialog box.
![Page 39: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/39.jpg)
39
In the Tables or queries, select the second table (e.g. TB02RA28). Click the Select All >> button in the Available fields. Then, click the Next> button twice to ignore the Set up a subform step.
![Page 40: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/40.jpg)
40
In the Arrange controls, select the Columnar - Labels Left option. Then, click the Next> button.
![Page 41: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/41.jpg)
41
In the Set data entry select the option The form is to display all data. Check the Do not allow deletion of existing data check box. Then, click the Next> button.
![Page 42: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/42.jpg)
42
In the Apply styles, select the Violet style and the 3D look option. Then, click the Next> button.
![Page 43: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/43.jpg)
43
In the Set name, type the name for the second form (e.g. FR02RA28). Select the Modify the form option. Then, click the Finish button.
![Page 44: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/44.jpg)
44
The form design will now appear. Use the Gallery button to add a logo. Use the Label Field button in the Control Form bar to type Triple A University.
![Page 45: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/45.jpg)
45
Modify all the labels and text boxes according to the format that suits you. Then, save and close the form.
Select the second form (e.g. FR02RA28) and double click it. The form layout will now appear showing the current record selected.
![Page 46: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/46.jpg)
46
CREATING A REPORT USING CREATING A REPORT USING THE REPORT WIZARDTHE REPORT WIZARDClick the Reports in the Database pane. Then, in the Tasks pane, click the Use Wizard to Create Report. The Report Wizard will appear.
![Page 47: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/47.jpg)
47
In the Tables or queries, select the first table (e.g. TB01RA28). Click the Select All >> button in the Available fields. Then, click the Next> button.
![Page 48: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/48.jpg)
48
In the Labeling fields, do not change anything and click the Next> button.
![Page 49: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/49.jpg)
49
In Grouping, select the StudentStatus and Course. Then, click the Next> button.
![Page 50: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/50.jpg)
50
In Sort options, the StudentStatus and Course will be automatically arranged in ascending order. Select the StudentID and ascending order in the third option. Then, click the Next> button.
![Page 51: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/51.jpg)
51
In Choose Layout, select the Outline – Compact data layout and the Bubbles headers and footers layout. In Orientation, select the Portrait option. Click the Next> button.
![Page 52: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/52.jpg)
52
In Create report, type the Title of the report. Select the Dynamic report and the Create report now options. Click the Finish button.
![Page 53: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/53.jpg)
53
The output of your report will now appear. Close the report and save the database.
![Page 54: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/54.jpg)
54
Right click the report in the Reports pane and choose the Edit command to modify the report.
Select any object either in the Gallery or the Drawing bar to serve as the logo. Type Triple A University as the company name. Change the format of the report according to what you want. Save and close the report.
Close and save the database.
![Page 55: MELJUN CORTES Open Office Lecture](https://reader038.vdocument.in/reader038/viewer/2022110303/54c6b4e44a7959aa228b4594/html5/thumbnails/55.jpg)
55