Subject | bookmark problem after insert |
---|---|
Author | |
Post date | 2015-07-29T10:14:35Z |
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.