CIS145 Test 1 Review

24
CIS-145 Test 1 Review 06/07/2022 1

description

 

Transcript of CIS145 Test 1 Review

Page 1: CIS145 Test 1 Review

04/10/2023 1

CIS-145Test 1 Review

Page 2: CIS145 Test 1 Review

04/10/2023 2

DatabaseCollection of related data and tools to use,

manage dataRelational database

Data stored in tablesEach table stores data about one thingCommon values create connections

(relationships) between tables

Page 3: CIS145 Test 1 Review

04/10/2023 3

Fields, Records, and TablesFields

Basic unit of data represented by a column in a table datasheet

RecordsGroup of related fields or all fields related to a

specific item: person, place, or thing Each row of a datasheet represent a record

TablesGroup of related records

Page 4: CIS145 Test 1 Review

04/10/2023 4

Planning a DatabaseWhat information do you want to obtain? What data elements (fields) must you include to be

able to get the information?What types of data will you enter into each field?

Dates, numeric values, amounts of money, text, etc.What fields of data relate to the same basic items and

belong grouped together? How do the groups of data relate to each other? What questions will you need the database to be able

to answer? What is the most efficient way to get data into the

database tables?

Page 5: CIS145 Test 1 Review

04/10/2023 5

Creating Tables Each table should contain fields that focus on

data specific to one type of itemSuch as customers, employees, inventory, etc.

Each table should have a primary key Fields in the primary key cannot be empty

(null)May be one or more fields

Each generic field# heading is replaced with a descriptive field name

Page 6: CIS145 Test 1 Review

04/10/2023 6

Table Design GuidelinesStore all necessary dataStore data in smallest partsAvoid calculations

Page 7: CIS145 Test 1 Review

04/10/2023 7

Using Table Design ViewPresents a blank work area on which to

enter fieldsProvides tools for setting data types,

descriptions, and propertiesEnables you to change the structure

and organization of fields in the table

Page 8: CIS145 Test 1 Review

04/10/2023 8

Entering Field NamesField names:

Short but descriptiveCan contain alpha-numeric charactersCan contain many symbolsCan contain spacesMust start with a character or symbol

May use naming conventionIdentify table, data type, and field description

Page 9: CIS145 Test 1 Review

04/10/2023 9

Identifying Data TypesData types identify the kind of data to be

added to a fieldTextNumbersDates/TimesCurrency

Setting a data type controls values that the field contains

Page 10: CIS145 Test 1 Review

04/10/2023 10

AutoNumber FieldsFields that automatically number records as

you add them to a tableNumbers can’t be entered or changed by

userIf you delete a record from a table, or cancel

a new row, Access never assigns the number to any new record

Page 11: CIS145 Test 1 Review

04/10/2023 11

Field PropertyField Size determines how much data can be

storedSome data type sizes are fixed – date/time,

yes/noFormat controls how a value is displayedInput Mask controls which keyboard entries

will be required and acceptedValidation Rule sets limits on values that a

field will acceptValidation Rule applies regardless of how data

is entered or changedSet Validation Text to explain how to correct an

entry

Page 12: CIS145 Test 1 Review

04/10/2023 12

Entering Data into a Datasheet

Click the New Record button

Press (Tab) or (Enter) to move to the next column

The new row is identified with an asterisk

Page 13: CIS145 Test 1 Review

04/10/2023 13

Saving RecordsAccess automatically saves each record as

you complete it Edits made to records are also automatically

saved

Page 14: CIS145 Test 1 Review

04/10/2023 14

Saving a Table LayoutEach time you make a change to the layout of

a table you must save it if you want to keep that layout

The Save button appears on the Quick Access toolbar

Page 15: CIS145 Test 1 Review

04/10/2023 15

Retrieving DataSorting featuresFiltering toolsFind and Replace

Page 16: CIS145 Test 1 Review

04/10/2023 16

Using the Toggle Filter ToolAfter you apply a filter, clicking the Toggle

Filter button removes the filter and displays all records

After removing a filter, clicking the Toggle Filter button re-applies the last filter applied

A ToolTip displays to let you know what action you are performing: Remove Filter or Apply Filter.

Page 17: CIS145 Test 1 Review

04/10/2023 17

Creating Other Database ObjectsCreate tab of the Ribbon contains tools for

creating all database objectsTools on the Ribbon are grouped by object

typeMultiple tools are available for each object

Design ViewWizards

Page 18: CIS145 Test 1 Review

04/10/2023 18

Forms & ReportsCan create with Ribbon buttons, wizards, or

design viewAlso have layout view where can see data and

modify control layoutMade up of objects call controls

Bound: tied to a field in a table or queryUnbound: exists only as part of formCalculated: creates a value using functions

and/or fields

Page 19: CIS145 Test 1 Review

04/10/2023 19

Form/Report DesignNeed to consider layout: how will user move

through controls, read and understand what’s displayed?

Need to be clear, use words/phrases easily understood

Page 20: CIS145 Test 1 Review

04/10/2023 20

Importing DataCan create new tables from data stored in

other programsCan append (add) data to existing tablesExternal Data tab on the Ribbon contains

Import toolsMost import procedures use Wizards

Page 21: CIS145 Test 1 Review

04/10/2023 21

Creating QueriesEnables you to place fields from multiple

tables to display in a single datasheetProvides controls for setting criteria

based upon values in multiple fieldsEnables you to show or hide fields

containing criteria

Page 22: CIS145 Test 1 Review

04/10/2023 22

How Multiple Column Sorts WorkAccess sorts data on multiple fields from left

to rightColumns in a table must appear side by side

when sorting in datasheet The column on the left must be the one you

want sorted first (primary sort field)

Page 23: CIS145 Test 1 Review

04/10/2023 23

Identifying OperatorsIdentifies the comparison Access should

performRelational Operators include:

=, >, <, <>, >=, <=Logical operators define how to tie tests

togetherAnd, Or, Not

Comparison operators are used with patternsLike

Can compare to a list using In

Page 24: CIS145 Test 1 Review

04/10/2023 24

Using WildcardsUsed in place of specific charactersPrimary wildcards used:

* Represents any number of characters? Represents an individual character

Examples:*Graham* locates all records with graham

within the textGra?am locates all records with gra at the

beginning of the field value and am at the end of the field value with only one letter between