18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part V<br />

Analyzing Data with Excel<br />

FIGURE 33.14<br />

Add the fields and criteria to complete your query.<br />

Using multiple database tables<br />

The example in this chapter uses only one database table. Some databases, however, use multiple tables.<br />

These databases are known as relational databases because a common field links the tables. Query lets you<br />

use any number of tables in your queries.<br />

When you add tables to a query, the Tables pane in Query connects the linked fields with a line<br />

between the tables. If no links exist, you can create a link yourself by dragging a field from one<br />

table to the corresponding field in the other table.<br />

NOTE<br />

Adding and editing records in external database tables<br />

To add, delete, and edit data when you’re using Query, make sure that a check mark appears next to the<br />

Records ➪ Allow Editing command. Of course, you can’t edit a database file that’s set up as read-only.<br />

CAUTION<br />

Be careful with this feature because your changes are saved to disk as soon as you move the<br />

cell pointer out of the record that you’re editing. (You do not need to choose File ➪ Save.)<br />

Formatting data<br />

If you don’t like the data’s appearance in the Data pane, you can change the font used by choosing Format ➪<br />

Font. Be aware that selective formatting isn’t allowed (unlike in Excel); changing the font affects all the data<br />

in the Data pane.<br />

TIP<br />

If you need to view the data in the Data pane in a different order, choose Records ➪ Sort (or<br />

click the Sort Ascending or Sort Descending toolbar icon).<br />

588

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!