Subject RE: [IBO] bookmark problem after insert
Author IBO Support List
Hello!
 
Would you be able to write me a simple little sample app showing me this problem?
Or, alternatively, if you prefer, we can arrange a remote desktop session where you show me directly.
 
Please let me know.
 
Jason Wharton
 


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Wednesday, July 29, 2015 3:15 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] bookmark problem after insert

Hi all,

I found a problem in my program (IW / TMS IW / IBO) : I get an exception "record not found" when I add a new record from the DBNavigator. The Datasource (IBOQuery) is linked to a TIWDBAdvWebGrid and a TIWDBNavigator.

My program is working for many years without problem but, I'm sorry, I install the updates of all the components I use...

Now I get this exception.

I tried to find how the exception raises and I found a bookmark problem after an db-insert.

This piece of code doesn't work :

query.insert
bk := query.GetBookMark;
query.GotoBookMark(bk);

The exception raises in GotoBookMark : record not found.

The exception doesn't occur if the record is added with "Append".

Kind regards,
L GILBERT.