Returns the current position in a rowset.

Syntax

<oRef>.bookmark( )

<oRef>

The rowset whose current position you want to return.

Property of

Rowset

Description

A bookmark represents a position in a rowset. bookmark( ) returns the current position in the rowset. The bookmark may be stored in a variable or property so that you can go back to that position later with the goto( ) method.

A bookmark is guaranteed to be valid only as long as the rowset stays open. The bookmark uses the current index represented by the indexName property, if any. The same physical row in the table returns different bookmarks when different indexes are in effect. When you goto( ) a bookmark, the index that was in effect when the bookmark was returned is automatically activated.