I went into the HELP files and typed in MEDIAN and got the following:
Median
Returns the median value of a numeric expression evaluated over a set.
Syntax
Median(«Set»[, «Numeric Expression»])
Remarks
The Median function returns the median value of a numeric expression, specified in «Numeric Expression», evaluated over a set specified in «Set».
Example
The following example returns 2000 if respective Sales of the countries are 1000, 2000, and 3000:
Median({USA, CANADA, MEXICO}, Sales)
In my SP, I have a sorted one field temp table, @Median, with the field RcvFld. Could someone tell me how to make the MEDIAN function work with that table?
Median
Returns the median value of a numeric expression evaluated over a set.
Syntax
Median(«Set»[, «Numeric Expression»])
Remarks
The Median function returns the median value of a numeric expression, specified in «Numeric Expression», evaluated over a set specified in «Set».
Example
The following example returns 2000 if respective Sales of the countries are 1000, 2000, and 3000:
Median({USA, CANADA, MEXICO}, Sales)
In my SP, I have a sorted one field temp table, @Median, with the field RcvFld. Could someone tell me how to make the MEDIAN function work with that table?