[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function            OCCUR()
Action              Build and display frequenty analysis for field
Returns
Category            Metafunction
Syntax              Occur([array1],[array2])
Description         Allows selection of a field and builds a
                    frequency count for values in that field.
                    A frequency count here being the number of
                    times each unique value for a given field
                    occurs in a database.
Options             [array1] and [array2] are optional arrays of
                    field names and descriptions to use.

Examples            OCCUR()
                     * or
                    USE CUSTOMER
                    private flds[3],fdes[3]
                    flds[1] = "fname"
                    flds[2] = "lname"
                    flds[3] = "mi"
                    fdes[1] = "First Name"
                    fdes[2] = "Last Name"
                    fdes[3] = "Middle Initial"
                    OCCUR(m->flds,m->fdes)

Warnings            Cursor is left ON

Found in (prg)......S_OCCUR.PRG

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson