Subject Re: [IBO] Bookmarks being truncated
Author Jason Wharton
Please send me a sample application that will easily reveal these problems.
If they will duplicate on my machine I will fix it immediately.

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: <bobzirbel@...>
To: <>
Sent: Wednesday, September 05, 2001 6:15 PM
Subject: [IBO] Bookmarks being truncated

> 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