![]() ![]() ![]() |
||
|
In this exercise, you will verify that the price
and departureDate
are now considered in the query.
Because the departure date is considered in the query, there are no rows returned.
Note: If you planned to use many more fields as search criteria, the approach used to add departure date and price criteria to the Trip Search form is not the most elegant solution. A generic routine to handle WHERE clause string construction based on specific data types could reduce the code and be a more extensible solution than the one presented here. However, this more extensible approach is beyond the scope of this tutorial.
|
||
![]() ![]() ![]() |