Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >
TraceOff
TraceOff turns off the tracing started by the TraceOn method.
Syntax
Application.TraceOff
Returns
Not applicable
Used With
COM Data Control, COM Data Server, CORBA Object Manager, Java Data Bean, Mobile/Dedicated 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
.ClearToQuery
.ActivateField "Sales Stage Order"
.SetSortSpec "Sales Stage Order"
.ExecuteQuery ForwardOnly
if .FirstRecord then
.Pick
end if
End Withset oBC = Nothing
TheApplication.TraceOff
End Sub
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |