Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >
PreviousRecord
PreviousRecord moves to the previous record in the business component, invoking any associated Basic events.
Syntax
oBusComp.PreviousRecord
Returns
An integer in Siebel VB; Siebel eScript, a Boolean in COM, ActiveX, and CORBA: 1 or non-zero if the current record was moved to the previous record, 0 if the current record was already the first record.
Usage
PreviousRecord may be used only on a business component that has been queried using the FowardBackward CursorMode.
Used With
Server Script, Mobile/Dedicated Web Client Automation Server, COM Data Control, COM Data Server, Java Data Bean, CORBA Object Manager
Example
Here is a Mobile/Dedicated Web Client Automation Server example.
(general) (declarations)
Option ExplicitPrivate Sub PreviousRecord_Click()
Dim errCode As Integer
Dim oBusComp as BusComp
FieldValue.Text = ""
HourClassStart
SBusComp.PreviousRecord errCode
If errCode = 0 Then
FieldValue.Text = SBusComp.GetFieldValue(FieldName.Text, _
errCode)
End If
HourClassStop
Status.Text = SiebelApplication.GetLastErrText
End SubSee Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |