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.

Figure 222: Query table<br />

Step 4: Set the criterion for the query.<br />

We want the query’s FuelID to begin <strong>with</strong> the numeral 1.<br />

1) Type >0 in the Criterion cell under FuelID in the query table.<br />

2) Click the Run Query icon in the Query Design toolbar.<br />

Figure 223: Query Design toolbar<br />

Figure 224 contains the Fuel table <strong>with</strong> my entries and the query results based upon the Fuel table:<br />

the query results are in the right table.<br />

Figure 224: Fuel table and query of the fuel table<br />

Step 5: Save and close the query.<br />

Since this query contains the ending odometer reading for our calculations, name it End-Reading<br />

when saving it. <strong>The</strong>n close the query.<br />

Step 6: Create the query to calculate the fuel economy.<br />

1) Click Create Query in Design View to open a new query.<br />

2) Add the Fuel table to the query just as you did in step 2: Add tables But, do not close the<br />

Add Tables window.<br />

3) Add the End-Reading query to this query.<br />

a) Click Queries to get the list of queries in the database (Figure 225).<br />

b) Click End-Reading.<br />

c) Click Add, and then click Close.<br />

228 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>LibreOffice</strong> <strong>3.3</strong>

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

Saved successfully!

Ooh no, something went wrong!