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

Donald Ziesig donald at ziesig.org
Wed Jan 17 23:24:34 CET 2018


On 01/17/2018 04:41 PM, Michael Van Canneyt via Lazarus wrote:
>
>
> 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.
>
>
Hi Michael,

Now that I figured out what the underlying problem is and have a work 
around, I can wait. ;-)

Thanks,

Don

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180117/09398664/attachment.html>


More information about the Lazarus mailing list