Siebel Reports Administration Guide > Method Reference > Essential DataStream Methods >

Delete Method


The Delete method destroys the datastream object and frees system resources. In the example below, custom code has been added before the Delete method on the superclass is called. Note that ssAcount has handled the deletion duties for its child datastreams and has handed the calls back to the server (EnableNotify).

The following code sample is from the Delete method in the ssAccountQuery datastream component in the Aclist (Account List) report.

Sub Delete ()

ssRestoreActiveRow (ssAccount)

If Not (ssAccount = 0) Then ssBusCompInvokeMethod (ssAccount, "SetIgnoreMaxCursorSize", "N")

If Not (ssAccount = 0) Then ssBusCompAllowNotification (ssAccount)

ssAccount = 0

Super::Delete ()

End Sub

Reports frequently have multiple report sections nested within one another to display detail, summary, or related data. Each report section requires a separate datastream component, and it is desirable that the datastreams be nested as well. This allows the master datastream to perform Start and Delete tasks for the child, enhancing efficiency.

The roles of the master datastream are:

The roles of the child datastream are:

NOTE:  Master datastreams do not have numbers appended to their names.


 Siebel Reports Administration Guide, Version 7.5, Rev B 
 Published: 18 April 2003