Current location - Quotes Website - Personality signature - How to use DATA 1 RECORDSCT.BOOKMARK property in VB database?
How to use DATA 1 RECORDSCT.BOOKMARK property in VB database?
Bookmark Properties (Datagrid)

Returns or sets the bookmark of the specified row in the RowBuffer object in an unbound DataGrid control.

grammar

Object. Bookmark (line) [= value]

The attribute syntax of bookmarks consists of the following parts:

Partial description

Object object expression whose value is the object in the Applies to list.

Row specifies the integer value of the data row where the bookmark is placed. The range of this value is 0 to RowCount- 1.

Value represents a variation of the bookmark for the specified line.

explain

Use the value returned by the Bookmark property to save a reference to the current row. Even when another line becomes the current line, the original current line is still valid.

When you set the Bookmark property to a valid value in your code, the row associated with that value becomes the current row, and the grid adjusts its display so that you can see the new current row if necessary.

The Bookmark attribute will be defined as a variable to accommodate bookmarks in user-defined unbound mode. .

In an UnboundReadData event, there may be multiple data rows, so you must provide a bookmark for each row.

The UnboundWriteData event sends a bookmark to identify the data row to be updated.

The UnboundAddData event sends a bookmark to identify the data row to be added.

Note that setting the Bookmark property to itself in unbound mode will force the current row to be updated through the UnboundWriteData event.

Bookable attributes (remote data)

Returns a value indicating whether the rdoResultset object supports bookmarks, which can be set with the bookmark property.

grammar

Object. Bookmarked

The location of the object is an object expression whose value is the object in the Applies to list.

Return value

The return value of the Bookmarkable property is:

Value description

True rdoResultset supports bookmarks.

False rdoResultset does not support bookmarks.

explain

To ensure that rdoResultset supports bookmarks, check the setting of the bookmark property before setting or checking it.