Subject Re: [IBO] Problem with persistent fields persistence ! (without the typos ! please read this one not the first, unless you want a laugh)
Author Robert Martin
Hi Jason

Have you had a chance to look at the problem described below. It is a
real pain :)

Cheers
Rob

On 9/06/2014 3:21 p.m., Robert Martin rob@... [IBObjects] wrote:
> Hi
>
> Let me begin by saying, I hate persistent fields. However sometimes you
> just have to use them. We have noticed the following 'bug' with IBOs
> editor...
>
> With query component with an SQL select query:
> 1>Right click query component and select Fields Editor. Add persistent
> fields (data, calculated, lookup either one doesn't matter).
> 2>Close Fields Editor and right click the query component again and
> select Edit Query and then click the top right X button or the OK button
> in the query editor screen. (Note the Cancel button won't clear the list)
> 3>Right click and select fields editor and note that the persistent
> fields have gone.
> 4>If you don't open and save the persistent fields do save and work.
>
> IBO is clearing the persistent fields every time it thinks a query has
> changed. This is really dangerous as we frequently open queries look
> and close. If we aren't careful to always click cancel we will have
> lost our persistent fields and not noticed. I don't think IBO should
> clear the fields AT ALL, even if the query does change. Delphi / IBO
> always left the management of persistent fields to the user, If I have
> gone and setup persistent fields and edit my table linking, why should I
> loose all my fields !
>
> Additionally while testing this issue I also discovered this gem...
>
> a) Add persistent fields.
> b) save .pas file. Close it in the editor and reopen.
> c) persistent fields are still present
> d) edit Query, and click ok. Persistent fields are gone and Delphi
> shows that changes have been made and the .pas needs to be saved.
> e) Close .pas WITHOUT saving. Re open and fields are gone anyway !
>
> Not sure how IBO would achieve this feat so this one could be a Delphi
> XE2 bug.
>
> p.s. we are using the latest build of IBO and a slightly older version
> (3 mths or so) and Delphi XE2. Both IBO versions suffer this issue.
>
> Cheers
> Rob
>
>
>
> ------------------------------------
> Posted by: Robert Martin <rob@...>
> ------------------------------------
>
> ___________________________________________________________________________
> 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 !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgradeYahoo Groups Links
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4592 / Virus Database: 3955/7644 - Release Date: 06/08/14
>
>