Access Flashcards
Design View
Greater access to properties available for each type
Change name of existing table
Add relationships
Relationships
Created in Design view using join lines
Create queries, forms & reports
Add Description to Table
Right click table and select table properties
Type description
Working in Storage v. RAM
Word, Excel & Powerpoint work in RAM
Access works in Storage
View Existing Relationships
Click Relationships in Relationships group in the Database Tools tab
Re-position tables by dragging the table’s title bar so all relationships are visible
Close
Prompted to Save
Change design of table such as font or background color.
Deleting Records
Use alternative such as adding yes/no field for active status
Selection Filters
Find exact matches
Find records containing a value
Filter by Form
Database Object Types
Standard MS Office applications interface:
*Ribbon
*Backstage View
*Home Tab
*Scroll Bars
Data objects - each has its own tab on Navigation Pane & open objects have a tab displayed beneath the ribbon.
Datasheet View
Double click table from Navigation pane
Fields/categories shown as columns
Records complete set of fields shown as rows
Navigation Bar
Bottom of Datasheet view
Shows total number of records & current record
Pencil shows record is being edited
Arrows for first, last, next, and previous
Yellow asterisk adds a blank record
Find command for single field or specific records
Design View
Detailed look at the table’s structure
Specify fields contained in the table
Data types & associated properties
Click View to toggle between data and design
Tables
Databases rely on tables to provide the framework for all the tasks and activities performed in a database.
Design a Table
Consider all the specific fields you’ll need and the type of data each field will store
Next add necessary fields.
Guidelines for Adding Fields to a Table
Include the necessary data Design for now and the future Store data in their smallest parts Determine the primary keys Link tables using common fields Design to accommodate calculations
Methods of Creating a Table
Use a template
Import data from another database
Import data from Excel
Create field names in Design then enter data in Datasheet view
Directly enter field names and table data in Datasheet view
Deleting Fields
In either Design or Datasheet views.
Primary Key
Field that uniquely identifies each record in a table.
Use a customer ID or an Autonumber.
Field Properties
Determine how the field looks and behaves.
Often set in Design view but some can be set in Datasheet view in the Table Tools Fields tab.
Adding Fields
Data sheet View add arrow at the top of an empty column.
Design view offers more field property choices.
Import Wizard
Tables, queries, forms, reports, pages, macros, and modules from other databases.
External Data tab in Import & Link group.
Why Import
Saves typing
Prevents data entry errors
Imported tables may need editing to data types, field sizes, captions, input masks, other properties-change in design view.
Benefits of Relationships
Efficiently combine data from related tables for creating queries, forms, and reports.
Database Tools tabs, Relationships Group, Relationships
Drag the Primary Key field name from one table to the Foreign Key field of the other table.
Referential Integrity
Enforces the rules in a database that are used to preserve relationships between tables when records are changed.
You cannot enter a foreign key value in a related table unless the primary key value exists in the primary table.
Single Table Query
Simple query wizard or query design tool.
The design tool offers more flexibility.
Query Criteria
Delimeters - " or # Wildcards - text value Comparison operators - =,<> Null AND, OR, NOT conditions
Query Sort Order
Designview
Determined from left to right.
Fixing Query Errors
Correcting immediately saves time.
Changes the original data table.
Multitable Queries
Contain 2 or more tables
Takes advantage of relationships in the database.
Easiest is to add tables to an existing query or add to a copy of an existing query.
Create a Multitable Query
Use only related tables or those with a common field.
Create Tab, query design in the queries group, then add the tables. Close the show table dialog box and drag fields to query design grid, add criteria and sort options.
Modify a Multitable Query
To add tables, use Show Table dialog box in query setup, to remove, click table and press delete.
To add fields, double click the fields to include.
To remove fields, click column selector and press delete.
Order of Operations
Rule that controls sequence arithmetic operations are performed. Parentheses Exponentiation Multiplication Division Addition Subtraction
(OOO) 2+3*3
Multiply Add 2+3*3 2+9 11
(OOO) (2+3)*3
Add values in parentheses then multiply
(2+3)3
(5)3
15
(OOO) 2+2^3
Evaluate Exponent Add 2+2^3 2+(2*2*2) 2+(8) 10
(OOO) 10/2+3
Divide then add 10/2+3 (10/2)+3 (5)+3 8
(OOO) 10/(2+3)
Simplify parenthetical expression then divide
10/(2+3)
10/(5)
2
(OOO) 102-32
Multiply then subtract 10*2-3*2 (10*2)-(3*2) (20)-(6) 14