ComponentOne True DataControl 8.0
ArrayIndexToBookmark Method

 

ArrayIndexToBookmark Method

Converts array index to bookmark in memory array mode.

Syntax

TData.ArrayIndexToBookmark Index

Remarks

Method applies to TData control and TDataLite control.

Arguments: Index is a Long integer specifying a row index in the XArrayDB object, between LowerBound and UpperBound.

Return Value: Variant representing the bookmark of the row identified by the Index argument.

This method is relevant only for DataMode = 1 - MemoryArray. Given a row index in the XArrayDB object, it returns the bookmark that corresponds to that row. If such index does not exist, the method returns empty variant.

Bookmarks in memory array mode are Long numbers, but the bookmark of a row can be different from its index if some rows were deleted from the XArrayDB object.

The BookmarkToArrayIndex method performs inverse conversion.

See Also

TData Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback