TITLE BAR MENU BARDATABASETOOLBAR COMMAND BUTTON OBJECT TAB OBJECT LIST DATABASE TOOLBAR
Data is stored in tables. As an example, yoursystem address book that you use for your e-mail addresses is a table of the address bookdatabase. Each address is a data record,presented as a row in that table. The datarecords consist of data fields, for example thefirst and the last name fields and the e-mailfield.
Creating a New Table With the Table Wizard 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 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.
Creating a New Table ViewSome database types support table views. A tableview is a query that is stored with the database. Formost database operations, a view can be used asyou would use a table.Open the database file where you want to create thenew table view.In the left pane of the database window, click theTables icon.Click Create Table View.
If you often want to accessonly a subset of your data thatcan be well defined by a filtercondition, you can define a query.This is basically a name for thenew view at the filtered data. Youopen the query and see thecurrent data in the table layoutthat you defined.
• Creating Query using Design View To create a query, click the Queries icon in adatabase document, then click Create Query inDesign View. The lower pane of the Design View is where youdefine the query.• To define a query, specify the database field namesto include and the criteria for displaying the fields.• To rearrange the columns in the lower pane of theDesign 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, theicons of the Query Design Bar and the Design barare displayed.
Creating Query using Design View• If you want to test a query, double-click thequery name in the database document. The queryresult is displayed in a table similar to the DataSource View. Note: the table displayed is onlytemporary. Keys in Query Design View Key Function F4 Preview F5 Run Query F7 Add Table or Query
Using forms, you can define howto present the data. Open a textdocument or a spreadsheet andinsert the controls such as pushbuttons and list boxes. In theproperties dialogs of the controls,you can define what data the formsshould display.
Creating a New Form With the Form Wizard In OpenOffice.org, you can create a new form using the Form Wizard:•Open the database file where you want to create thenew form.•In the left pane of the database window, click theForms icon.•Click Use Wizard to Create Form.
Creating a New Form ManuallyOpen the database file where you want tocreate the new form.In the left pane of the database window, clickthe Forms icon.Click Create Form in Design View.A new text document opens. Use the FormControls to insert form controls. Cont.
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.
•A report is a Writer text document that canshow your data in an organized order andformatting.•In OpenOffice.org Base, you have a choiceto create a report either manually using drag-and-drop in the Report Builder window, orsemi-automatic by following a series ofdialogs in the Report Wizard.•The following list gives you some informationto decide which method to use for your data:
Report Builder Report WizardStarted by "Create Report in Started by "Use Wizard to Create Report"Design View" command. command.Full flexibility to use report Uses a Writer template to generate a reportheaders and footers, page document.headers and footers, multi-column reports.Use drag-and-drop to position Select from several given choices to arrange thethe record fields or other design data records.elements like pictures or lines.Generates a one-time snapshot You can choose to generate a one-timeof the data. To see an updated snapshot with fixed data, or a "live" report withreport, execute the same report links to the current data at the time when youagain to create a Writer open the Base file.document with the updateddata.Saves the report as a Writer Saves the report and the information how totext document. Stores the create the report inside the Base file.information how to create thereport inside the Base file.Choose Open in the context Choose Open in the context menu or double-menu or double-click the report click the report name to either see again thename to create a new report static snapshot of the data from first creationwith the current data. 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 Choose Edit in the context menu of a reportmenu of a report name to open name to edit the Writer template file that was
Creating a New Report ManuallyIn Design View•Open the database file where you want to createthe new report.•In the left pane of the database window, click theReports icon.•Click Create Report in Design View.•Follow the instructions in the Report Builder guide.
Creating a New Report With the Report Wizard 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.