Rendering the results of a record search request is identical to rendering the results of a navigation request. This is because a record search request is a variation of a basic navigation request.
Specific objects and method calls exist that can be accessed
from a
Navigation
object and return a list of valid record
search keys. (This data is only available from a navigation request, not from a
record or dimension search request.)
Example 61. Java example
A Java code example for rendering results of record search is shown below:
ERecSearchKeyList keylist = nav.getERecSearchKeys(); for (int i=0; i < keylist.size(); i++) { ERecSearchKey key = keylist.getKey(i); String name = key.getName(); boolean active = key.isActive(); }
The
ERecSearchKeyList
object is a vector containing
ERecSearchKey
objects. Each
ERecSearchKey
object contains the name of a property
that has been enabled for record search, as well as a Boolean flag indicating
whether that property is currently being used as a search key.
Example 62. .NET example
A .NET code example for rendering results of record search is shown below:
ERecSearchKeyList keylist = nav.ERecSearchKeys; for (int i=0; i < keylist.Count; i++) { ERecSearchKey key = (ERecSearchKey)keylist[i]; String name = key.Name; Boolean active = key.IsActive(); }
The
ERecSearchKeyList
object is a vector containing
ERecSearchKey
objects. Each
ERecSearchKey
object contains the name of a property
that has been enabled for record search, as well as a Boolean flag indicating
whether that property is currently being used as a search key.