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

Create successful ePaper yourself

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

Note<br />

Figure 199: Type of list contents dropdown list<br />

• Type the following exactly as it is in the List contents box:<br />

SELECT "Type", "Type" FROM "Payment Type"<br />

Figure 200: List content for payment type fields<br />

What you wrote is called an SQL command. <strong>The</strong> words SELECT and FROM are<br />

written in capital letters because they are commands. When the command SELECT<br />

is used, it requires a field name <strong>with</strong>in quotation marks and then the field’s alias, also<br />

<strong>with</strong>in quotation marks. In this case, the field and its alias are the same. <strong>The</strong> FROM<br />

command requires the name of the table which contains the field. Single-word table<br />

names do not require quotation marks, but multiple-word table names do.<br />

• Repeat these steps for the payment fields for Lunch, Supper, Motel, Snacks, and<br />

Misc. <strong>The</strong> main form should look like Figure 201 as far as where the controls are<br />

located. It also shows what the Note control should look like. Those changes are<br />

explained in the next step.<br />

• Close the Properties window.<br />

212 <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!