Subject Bookmarks being truncated
Author bobzirbel@yahoo.com
Hi.

I am using D5, IB6 & IBO 3.6.

I am using the following code to access selected rows in an IB_Grid
but I found that some of the bookmarks returned appeared to be
duplicated. However, further testing has revealed that they are
being truncated!

The code used is as follows. This works fine in other ubits in the
application but in one particular unit it return the values shown
below. I have tried deleting all the components and recreating them
to no avail.

TmpStrs := TStringList.Create;
IB_Query.SelectedBookmarks( TmpStrs );
for i := 0 to TmpStrs.Count - 1 do
begin
IB_Query.BufferBookmark := TmpStrs[i];
etc...

ie if I select 5 rows I get the bookmarks
000098C90000
000098C90000
0000DEC90000
0000E5C90000
0000ECC90000

A small test app shows that these should be much longer, ie
0000ECC9000000004841535257

Does anyone know why this is happening?

Also, I have found that if you shift-click the first row and then
scroll to an entry that wasn't in view when the first row was
selected and shift-click again, the original selection is lost
instead of being extended (as in Windows Explorer). Is this right or
is there a setting I am missing?

Any help would be appreciated.

Regards
Bob