Subject | Best-Methods, Bookmarks in IBO |
---|---|
Author | Ed Dressel |
Post date | 2003-08-21T17:15:10Z |
I am changing some BDE code to IBO for bookmarks. The old method was:
if ldmPP.ibqPlans.Bookmark BookmarkValid(lBM) then
ldmPP.ibqPlans.GotoBookmark(lBM);
ldmPP.ibqPlans.FreeBookmark(lBM);
the new method is:
ldmPP.ibqPlans.Bookmark := lBM;
Nice reduction in LOC, but am I okay there?
Thanks
Ed Dressel
[Non-text portions of this message have been removed]
if ldmPP.ibqPlans.Bookmark BookmarkValid(lBM) then
ldmPP.ibqPlans.GotoBookmark(lBM);
ldmPP.ibqPlans.FreeBookmark(lBM);
the new method is:
ldmPP.ibqPlans.Bookmark := lBM;
Nice reduction in LOC, but am I okay there?
Thanks
Ed Dressel
[Non-text portions of this message have been removed]