The Routes form provides four items of information that are used to retrieve the flights result set:
The following three parameters are used to filter data from the database:
The Return Journey parameter affects the query passed to Ingres for processing.
The list of airports is reduced by restricting the available airports based on the country and region.
Airport code selection is composed of three form controls:
Form Control |
Departing |
Arriving |
|---|---|---|
CountryComboBox |
departingCountryComboBox |
arrivingCountryComboBox |
RegionComboBox |
departingRegionComboBox |
arrivingRegionComboBox |
AirportComboBox |
departingAirportComboBox |
arrivingAirportComboBox |
The Routes function uses a DataGridView control for displaying tabular results.
In the following screen shot, the Country and Region selections have been used to return a list of airport codes and their equivalent airport names in a DataGridView.
