Retrieve a Subset of Contacts on a BlackBerry Device
Exercise
Retrieve a subset of contacts on a BlackBerry® device by designing a screen with choice
control with an initial value property set to a subset of contacts. The WHERE clause determines a subset of
contacts (for example, WHERE nameFamily=@gv_Name). In this example, contacts that have the field nameFamily
equal to the global variable string gv_Name display in the choice control. The screen maps the choice
control to a local variable, contact, of type Contact. Use similar screens and constructs for the keyed
built-in data components to display subsets of these data collections.
Objectives
Discover how to retrieve a subset of contacts on a BlackBerry device.