When you need to use a complex selection or join multiple tables on a database driven widget, creating a DB2 view (or logical file) to fit your criteria can greatly simplify selection within the widget.