[DUG] TibTable error

Sigi Kirchmair sigi at cactus.net.nz
Wed Nov 28 11:44:19 NZDT 2007


Hi,

I am quite sure somebody cam across that on already. Using a tibtable 
I get an error when inserting a row and then changing that record 
traight away (before table refresh)

What happens is that when inserting the row with the minimum fields 
entereed the tibtable component does not refetch the record and get 
the RDB$DB_KEY as IBX_INTERNAL_DBKEY which it uses s the where clause 
later to do an update (when posting the change)
It does not have that internal key and that's why the changes are not 
done and no error message is coming up either.

Now I thought it would refetch after post if the ForcedRefresh 
property if tibtable is set but it does not seem to do that. 

Has anybody had that as well and is there a simple cure?


thanks
 sigi 
Cactus Software Ltd.
http://www.cactus.net.nz
Phone: +64 03 5479383
Fax: +64 03 5479329




More information about the Delphi mailing list