Download presentation
Presentation is loading. Please wait.
Published byAnastasia Cummings Modified over 9 years ago
1
D ATABASE O BJECTS Putting the Objects to Work
2
Database Objects When creating a database, you are creating a database that will store objects. Database Objects TableReport QueryMacro FormModule
3
About Database Objects Table –Stores all the data in the datasheet in a format called datasheet –Similar to an Excel worksheet Query –Used to search for and retrieve data from table using conditions –It is a question you ask Form –Data is displayed in one or more tables or queries in a format similar to a paper form
4
More About Database Objects Report –Data is displayed from one or more tables or queries in a customized format –It is commonly used to summarize data and to calculate totals Macro & Module –These are advanced features that we will not use in this unit.
5
Creating Table Relationships Relationships can be created when a database contains more than one table A relationship lets you connect the data in the tables The most common type is a one-to-many relationship Tables must contain a matching field –Matching field A field that appears in both tables Must have the same data type Must contain the same values Also called a common field
6
One-to-Many Relationships Primary Table –Contains the records on the “one” side of the relationship –One record in the primary table can match many records in the second table (related table) Related Table –The table that contains the records on the “many” side of the relationship –The common field is called the foreign key Foreign Key –The common field in the related table –The field is usually the table’s primary key
7
Queries In Office 2007, it is on the Create Tab in the Other section Two ways to create: –Create a simple query by using the query wizard –Create a query using the Query Design View Calculated fields: –When a field displays a value that is calculated using other fields in the query.
8
Sorting Ascending Sort – arranges records from A to Z, or smallest to largest Descending Sort – arranges records from Z to A, or largest to smallest
9
Reports Report Tool –Located on the Create Tab in the Reports section –Create a simple report that includes all the fields in the selected table or query –Uses a simple columnar format Report Wizard –Located on the Create Tab in the Reports section –Allows you to choose the tables and fields to use in a report
10
Report Terms Grouping – organizes data on one or more fields into groups Sorting – Sort in Ascending or Descending Order Layout – Choose between Stepped, Block, and Outline Orientation – Choose between portrait and landscape Style – Choose from many styles including Apex, Aspect, Civic, Concourse, etc.
11
Filters Temporarily displays records in a datasheet based on the condition you specify Types of Filters: –Filter by Selection – you select a field value in a datasheet and click on the selection button in the Sort and Filter group on the Home Tab –Filter by Form – you need to display records that contain one or more values based on the values stored in one or more fields –AutoFilter – menu that opens when you click the arrow on the right side of a field selector
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.