Analyzing Data Using Access
Analyzing Data Using Access
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.)
4. 5.
6.
2. 3.
Change to Datasheet view by clicking Datasheet View on the View menu. -orClick the Datasheet View button on the toolbar.
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.
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 report
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