[Lazarus] I've been defeated. (Dataset Problem)

Michael Van Canneyt michael at freepascal.org
Wed Jan 17 22:41:04 CET 2018



On Wed, 17 Jan 2018, Donald Ziesig via Lazarus wrote:

> Hi All!
>
> I give up! :'(
>
> After four solid days of hacking through undocumented code, I have to 
> admit defeat.
>
> I have a component derived from TDataSet.  This component uses 
> TFieldDefs and TIndexDefs.  The problem is that when I edit the 
> TIndexDef, the underlying form does NOT see the change!  When I edit the 
> TFieldDef the form does see the change.
>
> As a result, if I want to update an IndexDef, I must make the change, 
> then change ANYTHING ELSE on the form (and change it back) so that the 
> change to the IndexDef is saved and recompiled.  While this is a work 
> around, I invariably forget to make the second change and lose any 
> updates to the IndexDef.
>
> Can anyone help me with this?

I have seen your bugreport about it. I assigned it to myself, but I need
some time to debug it. If you need a solution FAST, someone else will need
to look at it...

Michael.


More information about the Lazarus mailing list