Summary
Programs CustomerGrid and CustomerListView enable you to add a query-by-example feature to your programs quickly and easily. You could streamline these programs by making them gather information from the database directly. For example, they could query the database to learn which fields are contained in a table and how they should be formatted. Although the current implementations require a bit more initialization than necessary, they also give you a lot of flexibility. They let you select data from more than one table, specifying your own join conditions, ORDER BY clauses, and even GROUP BY clauses when necessary.
You may find improvements you can make to these programs, but they give you a solid framework for building useful record ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access