meljun cortes object-oriented base
DESCRIPTION
MELJUN CORTES Object-Oriented BaseTRANSCRIPT
![Page 1: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/1.jpg)
MELJUN CORTESMELJUN CORTES
![Page 2: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/2.jpg)
DATABASE TOOLBAR
OBJECT
TAB
MENU BARTITLE BAR
DATABASE TOOLBAR
COMMAND
BUTTON
OBJECT LIST
![Page 3: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/3.jpg)
is stored in tables. As an example, your system address book that you use for your e-mail addresses is a table of the address book database. Each address is a data record, presented as a row in that table. The data records consist of data fields, for example the first and the last name fields and the e-mail field.
Data
![Page 4: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/4.jpg)
Working with TablesWorking with Tables
![Page 5: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/5.jpg)
In OpenOffice.org you can create a new table using the Table Wizard:
•Open the database file where you want to create the new table.
•In the left pane of the database window, click the Tables icon.
•Click Use Wizard to Create Table.
Creating a New Table With the Table Wizard
![Page 6: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/6.jpg)
Creating a New Table With the Design View
Open the database file where you want to create the new table.
In the left pane of the database window, click the Tables icon.
Click Create Table in Design View.
![Page 7: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/7.jpg)
Some database types support table views. A table view is a query that is stored with the database. For most database operations, a view can be used as you would use a table.
Open the database file where you want to create the new table view.
In the left pane of the database window, click the Tables icon.
Click Create Table View.
Creating a New Table View
![Page 8: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/8.jpg)
Table Definition Area
![Page 9: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/9.jpg)
Specifies the name of the data field. Note the database
restrictions, such as the length of the name, special characters and
spaces.
Field Name
![Page 10: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/10.jpg)
Specifies the field type.
Field type
![Page 11: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/11.jpg)
Specifies an optional description.The row headers contain the
following context menu commands:
Description
![Page 12: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/12.jpg)
Defines the field properties of the currently selected field.
Field properties
![Page 13: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/13.jpg)
![Page 14: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/14.jpg)
![Page 15: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/15.jpg)
![Page 16: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/16.jpg)
![Page 17: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/17.jpg)
![Page 18: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/18.jpg)
Field Name
Navigation Button
Record Selector
Click here to select all records
Click here to select a column
Data Sheet data from a table, query, displayed in a row-and-column format.
![Page 19: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/19.jpg)
Working with QueriesWorking with Queries
![Page 20: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/20.jpg)
If you often want to access only a subset of your data that can be well defined by a filter condition, you can define a query. This is basically a name for the new view at the filtered data. You open the query and see the current data in the table layout that you defined.
![Page 21: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/21.jpg)
![Page 22: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/22.jpg)
• To create a query, click the Queries icon in a database document, then click Create Query in Design View.
The lower pane of the Design View is where you define the query.
• To define a query, specify the database field names to include and the criteria for displaying the fields.
• To rearrange the columns in the lower pane of the Design View, drag a column header to a new location, or select the column and press Ctrl+arrow key.
• In the top of the query Design View window, the icons of the Query Design Bar and the Design bar are displayed.
Creating Query using Design View
![Page 23: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/23.jpg)
• If you want to test a query, double-click the query name in the database document. The query result is displayed in a table similar to the Data Source View. Note: the table displayed is only temporary.
Keys in Query Design View
Creating Query using Design View
Key Function
F4 Preview
F5 Run Query
F7 Add Table or Query
![Page 24: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/24.jpg)
Working with FormsWorking with Forms
![Page 25: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/25.jpg)
Using forms, you can define how to present the data. Open a text document or a spreadsheet and insert the controls such as push buttons and list boxes. In the properties dialogs of the controls, you can define what data the forms should display.
![Page 26: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/26.jpg)
In OpenOffice.org, you can create a new form using the Form Wizard:
•Open the database file where you want to create the new form.
•In the left pane of the database window, click the Forms icon.
•Click Use Wizard to Create Form.
Creating a New Form With the Form Wizard
![Page 27: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/27.jpg)
Open the database file where you want to create the new form.
In the left pane of the database window, click the Forms icon.
Click Create Form in Design View.
A new text document opens. Use the Form Controls to insert form controls.
Creating a New Form Manually
Cont.
![Page 28: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/28.jpg)
Click the Forms icon to access all forms that were created from within the current database window. In addition, you can use the Form Controls icons to add database form controls to any Writer or Calc document, but these documents will not be listed in the database window.
![Page 29: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/29.jpg)
Working with ReportsWorking with Reports
![Page 30: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/30.jpg)
•A report is a Writer text document that can show your data in an organized order and formatting. •In OpenOffice.org Base, you have a choice to create a report either manually using drag-and-drop in the Report Builder window, or semi-automatic by following a series of dialogs in the Report Wizard. •The following list gives you some information to decide which method to use for your data:
![Page 31: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/31.jpg)
Report Builder Report Wizard
Started by "Create Report in Design View" command.
Started by "Use Wizard to Create Report" command.
Full flexibility to use report headers and footers, page headers and footers, multi-column reports.
Uses a Writer template to generate a report document.
Use drag-and-drop to position the record fields or other design elements like pictures or lines.
Select from several given choices to arrange the data records.
Generates a one-time snapshot of the data. To see an updated report, execute the same report again to create a Writer document with the updated data.
You can choose to generate a one-time snapshot with fixed data, or a "live" report with links to the current data at the time when you open the Base file.
Saves the report as a Writer text document. Stores the information how to create the report inside the Base file.
Saves the report and the information how to create the report inside the Base file.
Choose Open in the context menu or double-click the report name to create a new report with the current data.
Choose Open in the context menu or double-click the report name to either see again the static snapshot of the data from first creation time, or to create a new report with the current data. This depends on your choice on the last page of the wizard.
Choose Edit in the context menu of a report name to open the Report Builder window, with the report's information loaded.
Choose Edit in the context menu of a report name to edit the Writer template file that was used to create the report.
![Page 32: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/32.jpg)
•Open the database file where you want to create the new report.
•In the left pane of the database window, click the Reports icon.
•Click Create Report in Design View.
•Follow the instructions in the Report Builder guide.
Creating a New Report Manually In Design View
![Page 33: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/33.jpg)
Open the database file where you want to create the new report.
In the left pane of the database window, click the Reports icon.
Click Use Wizard to Create Report.
Follow the steps of the Report Wizard to create the report.
Creating a New Report With the Report Wizard
![Page 34: MELJUN CORTES Object-Oriented Base](https://reader033.vdocuments.site/reader033/viewer/2022061210/548ff39fb47959fa688b4609/html5/thumbnails/34.jpg)