Access 2007

23
Microsoft Access 2007

description

basics of MS ACCESS

Transcript of Access 2007

Page 1: Access 2007

Microsoft Access 2007

Page 2: Access 2007

Session ObjectivesAfter conclusion of this workshop, you will be able to demonstrate proficiency while completing the following activities:

Create a database file using electronic mediaDesign, create, and populate a database tableDesign and use a database form with the form wizardObtain selected information from a table by using query

criteriaProduce hard copy from query outputIncorporate graphics and multimedia components into

database designDesign an attractive report while using the report wizard

Page 3: Access 2007

Database Objects

Database

Tables Forms Queries Reports

Page 4: Access 2007

Access 2007 Interface

Page 5: Access 2007

Access 2007 Start Up Screen

Blank Database Table

Table Creation From Online Templates

Page 6: Access 2007

Create a New Blank Database

Page 7: Access 2007

Insert a New Field in the Table

Click the Datasheet tab under Table Tools, and click the New Field button.

Page 8: Access 2007

Select Fields from Templates and RenameAdd fields such as Last Name, First Name, Address, etc. and basic field types, such as Currency and Date/Time.

Page 9: Access 2007

Save with Quick Access Toolbar

NOTE: To save the database as you are working, click the Save button on the Quick Access Toolbar and enter the table name, such as Customer. Then, click OK.

Page 10: Access 2007

Selecting/Changing Data Types

On the Datasheet tab, in the Data Types & Formatting group, from the Data Type list, select the desired data type, such as Number.

Page 11: Access 2007

Calendar Picker for Date Fields

On the Datasheet tab, in the Data Types & Formatting group, from the Data Type list, select the Date/Time option. Click the Calendar Picker icon to select a date while entering date data into the table.

Page 12: Access 2007

Populating a Table in Datasheet View

On the Datasheet tab, in the Data Types & Formatting group, from the Data Type list, select the Attachment option. (This field will be used to attach a photograph ID of each customer.)

Page 13: Access 2007

Adding an AttachmentTo add an attachment, double click on the paper clip icon for a record.Click the Add button and locate the image file to be associated with the record. Select the image file name and click the Open button. Click OK.

Page 14: Access 2007

Creating Forms and Split Forms

Click the Create tab and then select the Form button in the Forms group.

The resulting form should appear with the access controls at the bottom as shown below.

Page 15: Access 2007

Auto Formatting and Saving FormsUse the Format tab and the AutoFormat group to select a predefined layout, such as the “Opulent” layout from the AutoFormat gallery. The formatted form should display in Layout View. Save the form to include a name, such as Customer.

Page 16: Access 2007

Organizing the Shutter Bar

Click the pull-down button in the Shutter Bar and select Object Type to display the objects created as part of the Customer database in groups.

Objects that you will create today include tables, forms, queries, and reports.

Page 17: Access 2007

Using the Query WizardClick the Create tab and select the Query Wizard button in the Other group.

In the Available Fields list, double click each field to add it to the Selected Fields list. (You can also use the Add, Add All, Remove and Remove All buttons.)

Use Design View for entering criteria.

Page 18: Access 2007

Query Design View

In Design View, create specific criteria for the Query.

Page 19: Access 2007

Creating Criteria and Running a Query

Select the Design/Query Tools tab in the Results group, click the Run button.

Query results can be reviewed, saved and/or printed.

Page 20: Access 2007

Creating and Populating a Second Table

Use the Create Tab and Table button in the Tables Group to create a new table. Populate the table as shown below.

Page 21: Access 2007

Using the Report Wizard

Click the Create tab and the Report Wizard button in the Reports group.

Select a table or query and then move desired Available Fields to the Selected Fields list.

Page 22: Access 2007

Using the Report Wizard

In the report layout options, select:

Layout, such as TabularOrientation, such as LandscapeVerify that the Adjust field width to

fit on a page option is checked .Preview the report and then close

the Print Preview.Select Layout View to edit the

report.

Page 23: Access 2007

Closing and Exiting Microsoft Access

You must perform an appropriate exit from the database and Microsoft Access to insure the stability of the data.

To exit from Access 2007, click the Office button, and then select the Close Database option.

Click the Office button again, and then choose the Exit Access button.