Cicode Programming Reference > Cicode Function Categories > Alarm Functions Introduction > AlmSummaryDelete

AlmSummaryDelete

The AlmSummaryDelete function deletes the record in the filtered list that the cursor is currently referencing.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

AlmSummaryDelete(iSession)

iSession:

The handle to a filtered list previously returned by a AlmSummaryOpen call.

Return Value

0 (zero) if the alarm browse session exists, otherwise an error is returned.

Related Functions

AlmSummaryAck, AlmSummaryClear, AlmSummaryClose, AlmSummaryCommit, AlmSummaryDeleteAll, AlmSummaryDisable, AlmSummaryEnable, AlmSummaryFirst, AlmSummaryGetField, AlmSummaryLast, AlmSummaryNext, AlmSummaryOpen, AlmSummaryPrev, AlmSummarySetFieldValue

Example

INT errorCode = 0;
...
errorCode = AlmSummaryDelete(iSession);
IF errorCode = 0 THEN
// Successful case
ELSE
// Function returned an error
END
...

See Also

Alarm Functions