Databases Reference
In-Depth Information
Optimizing the screen space
As you may have noticed, we still need to include a few more fields for filtering, but
don't have much space available (since we must reserve the main part of the screen
for charts and tables). We will make use of an additional object type to optimize the
screen space used by listboxes: the search object.
The search object will allow the user to search for information related to airlines and
carriers, as well as aircrafts. All of this by using only a small space on the screen.
Click on the
Create Search Object
button, shown below, located on the
design toolbar.
From the
New Search Object
dialog window, we can specify which fields the object
search will go through when the user types a search string. We will enable the search
across
Selected Fields
, so make sure the corresponding radio button is selected,
highlight the fields to be added, and clicking on the
Add>
button.
The following fields need to be added:
Aircraft Type
,
Airline
,
Carrier Code
,
Carrier
Name
,
Destination City
,
Destination Country
,
Destination State
,
Origin City
,
Origin Country
,
Origin State
, and
Unique Carrier
.
The order in which the fields are added is not
important.
Click on
OK
and reposition the search object, shown below, to the upper-left corner
of the screen by clicking on the magnifying glass and dragging it with the mouse.
The way the
Search
object works is outlined below:
1.
The user clicks inside the
Search
object and types a search string. A search
string is any word(s) or set of characters the user is interested in finding
within the loaded data.