Subject | Re: [IBO] Bookmark confusion |
---|---|
Author | bmckenna6 |
Post date | 2002-06-17T21:28:12Z |
Jason,
Thanks for your reply.
I'm pleasantly surprised at how much work you and others
have done to provide the TTable/TIBOTable BDE/Ib migration.
The potential that this provides to begin getting away from
the BDE and into the land of Interbase-opportunity is enormous.
Not having spent a lot of my programming w/Db issues, this ease
of migration was not so readily apparent to me before now.
Things were going quite smoothly in my TTable/TIBOTable BDE/Ib
migration, until for some reason I started developing
pointer/Bookmark problems.
Without really following through very far in my debugging, I
presumed, in part, based upon an IBObjects help brief on Bookmarks,
and on reading some of the archive postings regarding Bookmarks,
that I needed to treat my Bookmarks as strings...and so I started
rewriting everything.
The help quote:
I can revert to my old BDE-style Bookmark-as-pointer coding as long
as I don't try to free all these Bookmarks/pointers that have been
created?
Or is it that there are not pointers being created...
This is a bit confusing for me, and if you could clarify this, I'd
be grateful.
Thanks for your reply.
I'm pleasantly surprised at how much work you and others
have done to provide the TTable/TIBOTable BDE/Ib migration.
The potential that this provides to begin getting away from
the BDE and into the land of Interbase-opportunity is enormous.
Not having spent a lot of my programming w/Db issues, this ease
of migration was not so readily apparent to me before now.
Things were going quite smoothly in my TTable/TIBOTable BDE/Ib
migration, until for some reason I started developing
pointer/Bookmark problems.
Without really following through very far in my debugging, I
presumed, in part, based upon an IBObjects help brief on Bookmarks,
and on reading some of the archive postings regarding Bookmarks,
that I needed to treat my Bookmarks as strings...and so I started
rewriting everything.
The help quote:
>Bookmark is a property of the TIB_Cursor, TIB_Query, TIBOQuery andNow, it seems that, for the time being [staying w/TIBOTable, anyway],
>TIBOTable components. It is merely a string so it is much more
>flexible to work with. You don't have to do the FreeBookmark() stuff
>since Delphi string handling is garbage collected
I can revert to my old BDE-style Bookmark-as-pointer coding as long
as I don't try to free all these Bookmarks/pointers that have been
created?
Or is it that there are not pointers being created...
This is a bit confusing for me, and if you could clarify this, I'd
be grateful.
> TDataset uses either the TBookmark thing or a string.
> You can use either but you cannot intermingle them.
>
> Native IBO only provides a string.
>