Page 1 of 1

probelms with post and or commit

Posted: 12.11.2010, 12:36
by Josef Koller
Hello,

I use Delphi6 prof., firebird embedded and zeos components (zconnection, zquery, zupdatesql, zsequence.

All works fine after starting the application. But if I close the application and start it again I cann't find the new values in the database.

I see only the old values. It seems that the changes were not stored stable.

Any idea what's wrong or have I forgot any property (readcommitted and autocommit:=true is set)?

Thanks

Josef

Posted: 17.11.2010, 15:01
by firesz
hello josef!

this property is ok!

do not forget that whenever you finish a sentence write zquery1.applyupdate, (this applies to the data physically) and commitupdate; (This renews the latest version of the data).

good luck!