|
|
|
|
|
TableFormulaDeleteAll (Function) In french: TableFormuleSupprimeTout TableFormulaDeleteAll(TABLE_MaTable)
nLigne is int
nLigne = TableFormulaAdd(TABLE_MaTable.COL_Num, "Moyenne positive", ProcInit, ProcAjout, ProcFin)
COL_Num[nLigne].CouleurFond = LightRed
nCompteur is int
INTERNAL PROCEDURE ProcInit()
nCompteur = 0
RETURN 0
END
INTERNAL PROCEDURE ProcAjout(Accumulateur, ValeurCol)
IF (ValeurCol <= 0) RETURN Accumulateur
nCompteur++
RETURN Accumulateur + ValeurCol
END
INTERNAL PROCEDURE ProcFin(Accumulateur)
IF nCompteur = 0 THEN RETURN 0
RETURN Accumulateur/nCompteur
END
Syntax
TableFormulaDeleteAll(<Table control>)
<Table control>: Control name Name of the control to be used. This control can correspond to: - a Table control.
- a TreeView Table control.
If this parameter corresponds to an empty string (""), the control to which the current event belongs will be used. Remarks The preset calculations (total, mean, count, min, max) are not affected.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|