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

Donald Ziesig donald at ziesig.org
Wed Jan 17 22:27:37 CET 2018


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?

Thanks,

Don Ziesig




More information about the Lazarus mailing list