CAS 6


topx
- Summary

Summary

Return top Nth of the most frequently occuring records.

Examples

1 topx 3 STATE CURBAL
1 topx 3 STATE
1 topx 3 STATE CURBAL (LIENPOS in '2')

Syntax

ResultType topx Count TextField (Weight)

Left Arguments

Name Data Type Input Type Description Optional Default
ResultType Numeric Constant Result type. See full help for details. No

Right Arguments

Name Data Type Input Type Description Optional Default
Count Numeric Constant No
TextField Text Field No
Weight Numeric Field Yes 1

Result

Type: Text

Return the top Nth values. Error will be given if the index is out of bounds.



Build 6.0.650