1. Database Reporting & Views

Reporting
A report is the formatted and organised presentation of data. 

Examples of reports are mailing labels, invoices, sales summaries and telephone lists. 

A DBMS allows complete control in the design of a report in either a tabular layout (displays data with the fields extending across the page) or a column layout (displays data with the fields going down the page). It is possible to insert headings, sort data, choose the fields, switch fields, change column widths and select records. 

The purpose of the report determines its content, format and style. Most DBMSs allow different reports to be created from the database for different purposes

Before creating a report, the user needs to select the required records by constructing a query. For example, you may not need a mailing label for everybody in the School database. Reports are often based on a query. 

The next step in creating a report is to select the fields. These fields are placed in appropriate positions, formatted, and sorted. DBMS reports often offer such functions as count, sum, and average to perform calculations on selected fields. Most DBMS reports have the following sections:

  • The report header appears once at the beginning of a report. It contains such items as a logo, report title and date.
  • The page header displays information such as a title, column headings, or any information needed at the top of every page. A page header appears after the report header on the first page of the report.
  • The details section displays most of the information. The user has a variety of tools to manipulate and format fields.
  • The page footer displays information such as the date, page number or any other information the user wants at the bottom of every page.
  • The report footer appears once at the end of the report. It displays items such as report totals.The report footer appears after the page footer on the last page of the report.


Constructing different views

Different views of a database are obtained using a form. A form is used to view, enter, and change data in a table. The layout of the form can be changed. The user can position fields, headings, instructions and graphics on the form. 

well-designed form provides information explaining the required data and any rules that apply to particular fields. Forms are used to display information for different purposes.


Reporting Good Design Principles

Before selecting the ‘Print’ command to send the report to the printer, make sure the report has the correct format. When formatting a report, the user needs to adopt good design principles, such as:

• headings that identify the purpose of the report

• layouts, such as tabular or column, that efficiently present the information

• text that is balanced on the page either vertically or horizontally

• styles that are consistent throughout the report and with its purpose

• columns that have clear and descriptive headings

• white space that is appropriately used to improve readability

• page numbers and the date included in the header or footer.


Subpages (1): Student Activity
ċ
LibrarySystem1.accdb
(9632k)
Joseph Lai,
26 Jan 2016, 05:41
Comments