21.08.2013 Views

Getting Started with LibreOffice 3.3 - The Document Foundation Wiki

Getting Started with LibreOffice 3.3 - The Document Foundation Wiki

Getting Started with LibreOffice 3.3 - The Document Foundation Wiki

SHOW MORE
SHOW LESS

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

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

218). <strong>The</strong> information we want is what albums are by a certain musical group or individual (the<br />

album’s author). We can include when each album was bought.<br />

Note<br />

Step 1: Select the fields.<br />

When working <strong>with</strong> a query, more than one table can be used. Since different tables<br />

may contain the same field names, the format for naming fields in a query is Table<br />

name.field name, <strong>with</strong> a period (.) between the table name and the field name. For<br />

example, <strong>The</strong> Lunch field of the Vacation table used in a query has the name<br />

Vacation.Lunch.<br />

1) Select the CD-Collection table from the dropdown list of tables.<br />

2) Select fields from the CD-Collection table in the Available fields list.<br />

a) Click Artist, and use the > button to move it to the Fields in the Query list.<br />

b) Move the AlbumTitle and DatePurchased fields in the same manner.<br />

c) Click Next.<br />

Tip<br />

To change the order of the fields, select the field you want to move and click the up<br />

or down arrow.<br />

Figure 218: First page of the Query Wizard<br />

Step 2: Select the sorting order.<br />

Up to four fields can be used to sort the information of our query. A little simple logic helps at this<br />

point. Which field is most important?<br />

In our query, the artist is most important. <strong>The</strong> album title is less important, and the date purchased<br />

is of least importance. Of course, if we were interested in what music we bought on a given day,<br />

the date purchased would be the most important.<br />

Chapter 8 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> Base 225

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

Saved successfully!

Ooh no, something went wrong!