Subject RE: [IBO] Query lost data after Post
Author IBO Support List
Append should cause the query to be on a record and it should not go back to
EOF.

Will you please send me a simple sample app demonstrating this problem?

Ideally, you can just tweak my regression testing app somehow to get it to
show the problem and then send me the modified test. Look for it in the
build\RegressionTesting folder.

Thanks,
Jason


-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Felipe Aron
Sent: Thursday, July 4, 2013 8:19 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Query lost data after Post

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@...>

> **
>
>
> 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]



------------------------------------

___________________________________________________________________________
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