SUMWHAT

Returns the sum of a numeric variable from an external file.

Reporting Area(s):

General

Required Parameters:

  1. Expression to sum in quotes (i.e. "sum(wihours) as hours")
  2. Table where field is [used in parameter 1] in quotes (i.e."WKSHPIND")
  3. Condition to include records in sum (i.e. "wicrse='15F' ")

Optional Parameters:

None

Example(s):

SUMWHAT("sum(wihours) as hours","WKSHPIND","wicrse='15F' ")

 

Related Topics Link IconRelated Topics