Академический Документы
Профессиональный Документы
Культура Документы
Note
Since the Tab key is used to move between fields, it cannot be used in a text field. All
spacing must be done by the spacebar. Furthermore in text fields, the Enter key acts
only as a line break to move the cursor to the next line. While the Enter key will move
between non-text fields, it will not do so from a text field. Use the Tab key instead.
If we did not have a subform for fuel data, pressing the Tab key in the last field would
save all of the fields, clear them, and make the form ready to accept data on the
second record.
Since we have a subform, using the Tab key places the cursor in the first Date field of the subform
with the date automatically entered to match the Date field of the main form.
The FuelCost, FuelQuantity, and Odometer fields are numeric fields. The Payment field is a drop-
down list. Enter the data just as you did in the main form, and use the Tab key to go to the next
field.
When you use the Tab key to leave the Payment field, it goes to the Date field of the next line and
automatically enters the date. Now you can enter your second set of fuel data for this day.
To move to another record when the form has a subform, click any of the fields of the main form. In
this case, click the Date field of the main form. Then use the directional arrows at the bottom; from
left to right: First Record, Previous Record, Next Record, and Last Record. To the right of these
arrows is the New Record icon.
To create a new record while in last record of the main form, click either the Next Record icon or
the New Record icon.
Tip
The number in the Record box is the number of the record whose data is shown in the
form.
If you know the number of the record you want, you can enter it into the record box and
then press Enter to take you to that record.
Figure 242: Sample record of the Vacation form and sub form
Note
The Copy table operation copies only values and strings from the Calc spreadsheet. It
does not copy formulas.
Note
When working with a query, more than one table can be used. Since different tables
may contain the same field names, the format for naming fields in a query is Table
name.field name, with a period (.) between the table name and the field name. For
example, the Lunch field of the Vacation table used in a query has the name
Vacation.Lunch.
Note
These conditions apply to numbers, letters (using alphabetical order), and dates.
1) Since we are only searching for one thing, we will use the default setting of Match all of the
following.
Note
Since we have a simple query, the Grouping and Grouping conditions are not needed.
Steps 5 and 6 of the wizard are skipped in our query.
Tip
Move the cursor over the bottom edge of the fuel table (Figure 246) and drag the edge
to make it longer and easier to see all of the fields in the table.
Note
When entering fields for these calculations, you must follow this format: table or query
name followed by a period followed by the field name. For hyphenated or multiple-word
names (table or query), use double quotes around the table or query name. The query
will then add the rest of the double quotes as in Figure 256.
Use the arithmetical symbol between the two. More than one calculation can be done
by using parentheses to group the arithmetical operations.