Subject | Re: [IBO] Query lost data after Post |
---|---|
Author | Felipe Aron |
Post date | 2013-07-04T14:18:36Z |
Jason, I discovered the issue:
The pointer of query is on EOF (End of File), then after a new insert, the
pointer continued in EOF.
This is correct? The pointer after insert, should not be on the new data?
2013/7/4 IBO Support List <supportlist@...>
Analista-Programador
#FollowMe: @felipearon <http://twitter.com/felipearon> (
http://felipearon.net)
[Non-text portions of this message have been removed]
The pointer of query is on EOF (End of File), then after a new insert, the
pointer continued in EOF.
This is correct? The pointer after insert, should not be on the new data?
2013/7/4 IBO Support List <supportlist@...>
> **--
>
>
> I need to know more about your specific situation.
> It could be due to a few factors.
>
> Jason
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On
> Behalf
> Of Felipe Aron
> Sent: Thursday, July 4, 2013 5:54 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Query lost data after Post
>
> 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]
>
> ------------------------------------
>
> __________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
Analista-Programador
#FollowMe: @felipearon <http://twitter.com/felipearon> (
http://felipearon.net)
[Non-text portions of this message have been removed]