Returns a bookmark for the current record.

Syntax

BOOKMARK([<alias>])

<alias>

The work area you want to check.

Description

BOOKMARK( ) returns a value for the current record. The value returned by BOOKMARK( ) is of a special unprintable data type called bookmark. BOOKMARK( ) returns an empty bookmark if no table is open in the current work area.

When used with the GO command, bookmarks let you navigate to particular records.

Unlike record numbers, which work only with DBF tables, bookmarks work with all tables, including DBFs. Bookmarks are only guaranteed to be valid for the table from which they are created.

Bookmark values can be used in all commands and functions that can otherwise use a record number, and with relational operators to check for equality and relative position in a table.

OODML

Use the Rowset object’s bookmark( ) method.