Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods > PreviousRecord MethodPreviousRecord moves the record pointer to the next record in the business component, making that the current record and invoking any associated script events. SyntaxReturnsAn integer in Siebel VB; a Boolean in Siebel eScript, COM, and ActiveX. UsagePreviousRecord may be used only on a business component that has been queried using the ForwardBackward CursorMode. Used WithCOM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script ExampleThe following Siebel eScript example finds the next-to-last record in a query and does some manipulation with it: ExecuteQuery(ForwardBackward); // do some record manipulation nextToLastRecord = PreviousRecord(); if (nextToLastRecord) // verify that there is a penultimate record // do some more record manipulation that applies only to next-to-last record Related Topic |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |