Subject | Query lost data after Post |
---|---|
Author | Felipe Aron |
Post date | 2013-07-04T11:54:22Z |
Using Firebird 1.5 with IBO 5.2.0.6 and Delphi XE2.
After call Query.Post the data is lost.
Ex.:
Product.Append;
ProductNAME.Value := 'Product-1';
Product.Post;
ShowMessage(ProductNAME.AsString) <<-- return empty
RecordCount return 0
But the new product is inserted in database.
Why this happen?
--
Analista-Programador
#FollowMe: @felipearon <http://twitter.com/felipearon> (
http://felipearon.net)
[Non-text portions of this message have been removed]
After call Query.Post the data is lost.
Ex.:
Product.Append;
ProductNAME.Value := 'Product-1';
Product.Post;
ShowMessage(ProductNAME.AsString) <<-- return empty
RecordCount return 0
But the new product is inserted in database.
Why this happen?
--
Analista-Programador
#FollowMe: @felipearon <http://twitter.com/felipearon> (
http://felipearon.net)
[Non-text portions of this message have been removed]