[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function            SUM_AVE()
Action              Interactive sum or average on a dbf field
Returns
Category            Metafunction
Syntax              SUM_AVE([expC])
Description         Does a SUM or AVERAGE on a selected numeric
                    field

Options             [expC] "SUM" or "AVE". Default is "SUM"

Examples            case choice = 3  && sum
                      SUM_AVE("SUM")
                    case choice = 4  && average
                      SUM_AVE("AVE")

Notes
                    If QUERY_EXP is present  - public variable
                    created by QUERY() - optional SUM or AVERAGE
                    for QUERY_EXP can be done.

Found in (prg)......S_SUMAV.PRG

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