Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Bookmarks and inserts
Wed, Nov 8 2006 6:48 PMPermanent Link

Oliver Bock
If I:

1. Open a live dataset, including a WHERE clause.
2. Grab a bookmark using TDBISAMDataSet.Bookmark.
3. Use the dataset to insert a new row that doesn't match the WHERE.

Will the bookmark still work?  (DBISAM v4.latest)


  Oliver
Wed, Nov 8 2006 6:52 PMPermanent Link

Oliver Bock
And what if I insert rows that do match the WHERE clause?
Thu, Nov 9 2006 3:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Oliver,

<< 1. Open a live dataset, including a WHERE clause.
2. Grab a bookmark using TDBISAMDataSet.Bookmark.
3. Use the dataset to insert a new row that doesn't match the WHERE.

Will the bookmark still work?  (DBISAM v4.latest) >>

Yes, it will.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Nov 9 2006 3:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Oliver,

<< And what if I insert rows that do match the WHERE clause? >>

It doesn't matter.  Bookmarks work irrespective of the WHERE clause because
they simply do a nearest search if a bookmark points to a record that isn't
visible due to a WHERE clause.  That's why there is a BookmarkValid method
that will tell you whether a bookmark is still valid and points to a visible
record.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image