0% found this document useful (0 votes)
29 views

Analyzing Data Using Access

To create a simple query in Microsoft Access: 1. Select the Simple Query Wizard and choose fields for the query, including the Age field. 2. Name the query "Students by enrolled major" and click Finish to view it. 3. Switch to Design view, add the criteria ">45" to the Age field, and view only records over 45 in Datasheet view.

Uploaded by

Enjoylife Vir
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Analyzing Data Using Access

To create a simple query in Microsoft Access: 1. Select the Simple Query Wizard and choose fields for the query, including the Age field. 2. Name the query "Students by enrolled major" and click Finish to view it. 3. Switch to Design view, add the criteria ">45" to the Age field, and view only records over 45 in Datasheet view.

Uploaded by

Enjoylife Vir
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 9

Analyzing Data Using Access

Creating a new database

To create a new database


1. 2. 3. Start Access. In the Task Pane, click Blank Database. The File New Database dialog box opens. Choose a file name and location, and then click Create. Your new database will be opened in the Database Container. Note that Access 2002 will create a new database in Access 2000 file format for ease with individuals using Access 2000.

Creating a New Database

Importing a delimited text file

To import a delimited text file 1.


6.

Importing a Delimited Text File


7. 2. 8. 9. 3. 10. -orClick OK to respond to the information box that notifies you that the import completed successfully. Click the file, and then click Import. 4. 5. The Import Text Wizard opens. Click Next to accept a delimited text file. Select the First Row Contains Field Names check box. The data is shown in the main pane on this page of the wizard. Click Next.

Click Next to indicate that you want to store your data in a new On the File menu, point to Get External Data, and then click table. Import. Click Next to accept the field settings. In the Import dialog box, in the Files of type drop-down list, click Click No primary key, and then click Next. Text Files, and then navigate to the file you want to import (survey.txt forname of the table if you want, and then click Finish. Change the the lab). (Results will be fine Double-click the file. for the lab.)

Creating a simple query

To create a simple query


1. 2. 3. In the Objects list, click Queries, and then click New on the Database Container toolbar. In the New Query dialog box, click Simple Query Wizard, and then click OK. The Simple Query Wizard starts. Select the fields that you want to include in the query, and then click the > button. (Make sure that one of the fields that you select is the Age field.) Click Next. Click Next to produce a detail query. In the What title do you want for your query box, name your query to describe the question that you hope to answer by running the query. For example, type Students by enrolled major Click Finish to display the completed query.

Creating a Simple Query

4. 5.

6.

Getting specific with criteria

To get specific with criteria


1. After creating the previous query, change to Design view by clicking Design View on the View menu. -orClick the Design View button on the toolbar. Click the criteria box in the age column, and then type >45.

2. 3.

Change to Datasheet view by clicking Datasheet View on the View menu. -orClick the Datasheet View button on the toolbar.

Getting Specific with Criteria

4. 5. 6.

You will see the results of your query. Notice that all the ages of the survey respondents are greater than 45. Change back to Design view to revise your query. On the File menu, click Save As, and then type a name in the space provided.

Creating a crosstab query

To create a crosstab query 1. In To create a crosstab in the Objects list, click Queries, the Database Container, query (cont.)
2. 3. 4. 5. 6. 7. and then click NewDatasheet view by clicking Datasheet View on the 8. Change to on the Database Container toolbar. View menu. Click Crosstab Query Wizard, and then click OK. -orClick Next to Datasheet View want totoolbar. Click indicate that you on the base your query on the results table. 9. On the File menu, click Save. Double-click major to select its contents as the row headings, -orand then clickSave on the toolbar. Click Next. Double-click gender to select its contents as the column headings. Click OwnPC as the values for your crosstab, and then click Next. Click Modify the design, and then click Finish to accept the default name Survey_Crosstab.

Creating a Crosstab Query

Creating a report

To create a report To create a report (cont.)


1. 7. 8. 2. 9. 3. 4. 10. 5. 11. 6. 12. In the Database Container, in the Objects list, click Reports, Click Next. and then click New on the Database Container toolbar. Select a field to sort by. (For the lab, in the drop-down list, click Click Report Wizard, and then, in the box at the bottom of the name.) Click Next. dialog box, select the table or query that will provide the data. Choose the layout and orientation by clicking the appropriate (Select Survey for the lab.) options. (You can preview the affect of each by looking in the Click OK. The Report Wizard starts. Preview pane on the left.) Click Next. Select all fields by clicking the >> button, and then Select a style for your report, and then click Next. click Next.

Double-click age, and then click Grouping Options. Type a title, and then click Finish. Your report will open in Print Preview, so you can examine the proposed output before it is In the Grouping Intervals dialog box, in the Grouping printed. intervals drop-down list, click 10s, and then click OK. On the File menu, click Save As. Type the name you want, and then click OK.

Creating a Report

Creating data access pages

To create data access pages


1. 2. 3. 4. 5. 6. 7. 8. In the Database Container, in the Objects list, click Pages, and then click New on the Database Container toolbar. Click Page Wizard, and then click OK.

Creating Data Access Pages


In the Tables/Queries box, click the appropriate table or query. (Click Survey_Crosstab for the lab.) Click the >> button to select all fields, and then click Next. Click Next to continue past the screen that allows the grouping of records. Click Next to continue past the sorting selection. Type a name for your page, and then click Finish. On the View menu, click Page View to see the page as it will look in a browser.

You might also like