AdoServer:GoTop()

<< Click to Display Table of Contents >>

Navigation:  Dataservers > AdoServer Class >

AdoServer:GoTop()

Previous pageReturn to chapter overviewNext page

Purpose

Position the data server at the first record.

 

Prototype

METHOD GoTop ( ) CLASS AdoServer

 

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:MoveFirst() returns an error

 

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

 

See Also

AdoServer, AdoServer:GoBottom()