Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

TraceOff Method


TraceOff turns off the tracing started by the TraceOn method.

Syntax

Application.TraceOff

Argument
Description

Not applicable

 

Returns

Not applicable

Used With

COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script

Example

This Siebel VB example sets the value in the Sales Stage field to the default, that is, to the first value in the field's picklist, and uses tracing to track the result:

Sub BusComp_NewRecord
   TheApplication.TraceOn "C:\lvpick.doc", "SQL", ""
   Dim oBC as BusComp
   set oBC = me.GetPickListBusComp("Sales Stage")

   With oBC
      .SetViewMode AllView
      .ActivateField "Sales Stage Order"
      .ClearToQuery
      .SetSortSpec "Sales Stage Order"
      .ExecuteQuery ForwardOnly
      if .FirstRecord then
         .Pick
      end if
   End With

   set oBC = Nothing

   TheApplication.TraceOff

End Sub

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.