21.08.2013 Views

Guia do Iniciante do LibreOffice 3.3 - The Document Foundation Wiki

Guia do Iniciante do LibreOffice 3.3 - The Document Foundation Wiki

Guia do Iniciante do LibreOffice 3.3 - The Document Foundation Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figura 101: Tabelas nesta consulta<br />

1) Clique duas vezes em QuantidadeCombustivel na consulta Ultima-leitura.<br />

2) Clique duas vezes em O<strong>do</strong>metro na consulta Ultima-leitura.<br />

3) Clique duas vezes em O<strong>do</strong>metro na tabela Combustivel.<br />

Figura 102: Adicione campos à consulta<br />

Passo 8: Insira o campo de diferença <strong>do</strong> IDCombustivel.<br />

Queremos que a diferença entre o valor IDCombustivel da tabela Combustivel e o valor<br />

IDCombustivel da consulta Ultima-Leitura seja igual a (1).<br />

1) Digite "Ultima-Leitura".IDCombustivel - Combustivel.IDCombustivel no<br />

campo à direita <strong>do</strong> campo O<strong>do</strong>metro da tabela Combustivel. Digite o número 1 (um) na<br />

célula Critério desta coluna.<br />

Figura 103: Digitan<strong>do</strong> cálculos de campos<br />

2) Calcule a distância viajada:<br />

• Digite "Ultima-Leitura".O<strong>do</strong>metro - Combustivel.O<strong>do</strong>metro na célula<br />

Campo.<br />

• Digite > 0 na célula Critério.<br />

246 <strong>Guia</strong> <strong>do</strong> <strong>Iniciante</strong> <strong>do</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!