PackageSearch Command |
|
Use the PackageSearch command in a Logic Template to return all the records within a package. PackageSearch command may only be used to return records from a package index, and only the PackageSearch command may be used to return records from a package index.
A package index exists for the sole purpose of including all records from a package without a primary index within a pass restricted by primary index logic.
The results from the search of all primary indexes within a single pass are ORed together, then used to restrict the overall search results from that pass in a highly optimized manner. The restricted results from the current pass are then ORed to the results from all other passes.
To execute a Search Package Index request, use the PackageSearch command with two arguments:
PackageSearch( idx, pas );
PackageSearch Arguments
Argument |
Description |
idx |
The package index to be searched. |
pas |
The pass during which the search is to be executed. |
Access the PackageSearch Dialog Box by selecting the Entire Package menu item under the Searching category of the Logic Template editor command menu.
Examples
Command |
Description |
PackageSearch( _AllSource_1, 3 ); |
Include all records mapped by primary package index with the name "_AllSource_1" within the restricted records list of pass 3. |