Session Objectives <ul><li>After conclusion of this workshop, you will be able to demonstrate proficiency while completing the following activities: </li></ul><ul><li>Create a database file using electronic media </li></ul><ul><li>Design, create, and populate a database table </li></ul><ul><li>Design and use a database form with the form wizard </li></ul><ul><li>Obtain selected information from a table by using query criteria </li></ul><ul><li>Produce hard copy from query output </li></ul><ul><li>Incorporate graphics and multimedia components into database design </li></ul><ul><li>Design an attractive report while using the report wizard </li></ul>
Database Objects Database Tables Forms Queries Reports
Insert a New Field in the Table Click the Datasheet tab under Table Tools, and click the New Field button.
Select Fields from Templates and Rename Add fields such as Last Name, First Name, Address, etc. and basic field types, such as Currency and Date/Time .
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 .
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 .
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.
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.)
Adding an Attachment <ul><li>To add an attachment , double click on the paper clip icon for a record. </li></ul><ul><li>Click the Add button and locate the image file to be associated with the record. </li></ul><ul><li>Select the image file name and click the Open button. Click OK . </li></ul>
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.
Auto Formatting and Saving Forms Use 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 .
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 .
Using the Query Wizard Click 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.
Query Design View <ul><li>In Design View, create specific criteria for the Query. </li></ul>
Creating Criteria and Running a Query <ul><li>Select the Design/Query Tools tab in the Results group, click the Run button. </li></ul><ul><li>Query results can be reviewed, saved and/or printed. </li></ul>
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.
Using the Report Wizard <ul><li>Click the Create tab and the Report Wizard button in the Reports group. </li></ul><ul><li>Select a table or query and then move desired Available Fields to the Selected Fields list. </li></ul>
Using the Report Wizard <ul><li>In the report layout options, select: </li></ul><ul><li>Layout, such as Tabular </li></ul><ul><li>Orientation, such as Landscape </li></ul><ul><li>Verify that the Adjust field width to fit on a page option is checked . </li></ul><ul><li>Preview the report and then close the Print Preview. </li></ul><ul><li>Select Layout View to edit the report. </li></ul>
Closing and Exiting Microsoft Access <ul><li>You must perform an appropriate exit from the database and Microsoft Access to insure the stability of the data. </li></ul><ul><li>To exit from Access 2007, click the Office button, and then select the Close Database option. </li></ul><ul><li>Click the Office button again, and then choose the Exit Access button. </li></ul>
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.