Clear search class

Command group Flag affected Reversible Execute on client Platform(s)
Searches NO YES NO All

Syntax

Clear search class

Description

This command clears the current search class so you can print a report using all records. This also frees the memory required by the search class.

If you use Clear search class in a reversible block, the search class reverts to its former setting when the method terminates.

Example

Set report name rMyReport
Set search name sMySearch
; sys(81) returns the current search class
Yes/No message Use Search (Icon) {Do you wish to use the search class '[sys(81)]' ?}
If flag false
  Clear search class
End If