DisplaySelection (sel, viewName)

Definition:  Opens the list window for the given selection, selects the named view and finds the records in the selection (which will necessarily be intersected with the view). Will have the side effect of resetting the view's filter to No Filter (assuming such a change is allowed by the current user's privileges (or the script's elevated privileges)).

Availability:  available within MWScript handlers.

See Also:

CreateSelection: Create a selection of records

IntersectSelection: Intersect a selection with the result of another search

RecordsSelected: Count records in a selection or resulting from a (meta) search

SumDetail: Add up a field for details matching a search

SumSelection: Add up a field for records matching a search

UnionSelection: Add the result of another search to a selection