Search the web
Sign In
New User? Sign Up
IBObjects · IB Objects support list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
GetBookmark   Message List  
Reply | Forward Message #43992 of 44319 |
Re: [IBO] Re: GetBookmark

Instead of GetBookMark, you can save the key value(s)
of the current record and then use

IBOQuery.Locate ('key1,key2',VarArrayOf( [Key1,Key2] ), [ ])

instead of GoToBookMark, with additional flexibilities and the advantage of
knowing when it fails with an

if not (IBOQuery.Locate(.....) ) then ... It Failed ...

due to the fact that another user may have removed that record.

----- Original Message -----
From: "Tom" <zifnabbe@...>
To: <IBObjects@yahoogroups.com>
Sent: Sunday, July 05, 2009 8:21 AM
Subject: [IBO] Re: GetBookmark


> Just some quick testing and I replaced the contents of GetBookmark with
> the one in DB.pas file. Now I don't get the AV. I don't see any weird
> issues yet, so for now I leave it like this. It's certainly not the right
> fix, but I can move on for now.
>
> IBObjects@yahoogroups.com, "Tom" <zifnabbe@...> wrote:
>>
>> Hi, Is there anyone else experiencing problems when using GetBookmark? I
>> disabled the cxGrid component, and called the bookmark myself after
>> opening the query and I get an AV as well, so I assume it it only related
>> to the IBODataset implementation, but of course I'm not 100% sure and
>> therefor I wonder if others are having this issue as well.
>>
>
>
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>




Sun Jul 5, 2009 5:11 pm

ittybittypro...
Offline Offline
Send Email Send Email

Forward
Message #43992 of 44319 |
Expand Messages Author Sort by Date

Hi, Is there anyone else experiencing problems when using GetBookmark? I disabled the cxGrid component, and called the bookmark myself after opening the query...
Tom
zifnabbe
Offline Send Email
Jul 5, 2009
1:48 pm

Just some quick testing and I replaced the contents of GetBookmark with the one in DB.pas file. Now I don't get the AV. I don't see any weird issues yet, so...
Tom
zifnabbe
Offline Send Email
Jul 5, 2009
2:21 pm

... Fix posted in another thread. "GetBookmark - the fix" HTH, m. Th....
m. Th.
m_theologos
Offline Send Email
Jul 20, 2009
10:31 am

Instead of GetBookMark, you can save the key value(s) of the current record and then use IBOQuery.Locate ('key1,key2',VarArrayOf( [Key1,Key2] ), [ ]) instead...
Hans
ittybittypro...
Offline Send Email
Jul 5, 2009
5:11 pm

Hi Hans, Yes, this we can use, but not if a thirdparty uses itself getbookmark. In this case the dev express library makes a lot use of bookmarks....
Tom
zifnabbe
Offline Send Email
Jul 5, 2009
6:03 pm

... Yes, im having that same problem too! I hope Jason can fix this because i use a lot of DevExpress components in my apps, and i dont want to be stuck in...
Luis Semedo Duarte
crazymenconn...
Offline Send Email
Aug 10, 2009
11:39 pm

... This should be fixed in 4.9.5. Will someone please confirm? Thanks, Jason Wharton...
Jason Wharton
ibobjects
Offline Send Email
Aug 26, 2009
1:39 pm

Hi Jason, I can confirm that this is not fixed in 4.9.5, I had to do the "GetBookmark - The Fix" manually to get it to work with DevExpress components. ...
Sean
seanpalmer49
Offline Send Email
Sep 17, 2009
1:16 pm

Hello, I had to fix it by hand to in order to use DevExpress components. But i think that Jason is already aware that the fix was not included in the previous...
crazymenconnected
crazymenconn...
Offline Send Email
Sep 17, 2009
1:33 pm

Luis, ... Thanks! Jason Wharton...
Jason Wharton
ibobjects
Offline Send Email
Sep 23, 2009
5:57 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help