AdoServer:GoTo()

<< Click to Display Table of Contents >>

Navigation:  Dataservers > AdoServer Class >

AdoServer:GoTo()

Previous pageReturn to chapter overviewNext page

Purpose

Position the data server at a specified record number.

 

Prototype

METHOD GoTo (  nNewRec ) CLASS AdoServer

 

 

Argument(s)

<nRecord>        Record number or BookMark

 

Return

LOGIC        TRUE if successful, FALSE otherwise

 

Description

This operation can fail under the following conditions:

One of the clients returns FALSE on the NotifyIntentToMove

There was an error saving the changes to the current record

There are no records in the recordset

The recordset:Move() returns an error

 

The server will send a NOTIFYINTENTTOMOVE before the operation and a NOTIFYRECORDCHANGE after the operation.

 

See Also

AdoServer, AdoServer:Recno, AdoServer:BookMark