Subject | Re: [IBO] tib_cursor error - attempt to fetch past the last record |
---|---|
Author | TeamIBO |
Post date | 2002-01-10T01:20:31Z |
> I am not sure if there are any exceptions to the rule, but generallyI finally thought of an instance where keylinks may be useful on
> keylinks are not required with ib_cursor.
TIB_Cursor...
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