Subject Re: [IBO] tib_cursor error - attempt to fetch past the last record
Author TeamIBO
> I am not sure if there are any exceptions to the rule, but generally
> keylinks are not required with ib_cursor.

I finally thought of an instance where keylinks may be useful on

You cannot use:
IB_Cursor1.Bookmark := ABookmarkValue;

in TIB_Cursor, but you can use...
ABookmarkValue := IB_Cursor1.Bookmark;

and this would rely on having valid keylinks defined.

The reason why this would be useful is that bookmarks are
transportable across queries with the same keylinks. So you could for
example read the bookmark from an ib_cursor and use that value to move
a IB_Query instance to the same record position.

Geoff Worboys - TeamIBO
Telesis Computing