[fpc-devel] TFIeld.lookup problem

Michael Van Canneyt michael at freepascal.org
Sat Jul 20 16:22:17 CEST 2019



On Sat, 20 Jul 2019, Marco van de Voort wrote:

>
> Op 2019-07-20 om 16:04 schreef Michael Van Canneyt:
>>
>>>>> Why is this field deprecated and not published? It really 
>>>>> complicates dual maintenance of apps with database fields.
>>>>
>>>> Because it is redundant. The fieldkind property is what you need. 
>>>> Set fieldKind=fkLookup
>>>>
>>> As said, it causes annoying problems with dual maintenance of forms 
>>> for no particular reason (since the property is still there, public). 
>>> Is it so hard to make it published (stored false if need be?).
>>
> (that came out a bit more whiny then I meant it :-)
>
>> No, it is not.
>>
>> But dual maintenance was never a target. 
>
> Deliberately frustrating it can't be the object either.

That was not the intent.

>
>> Easy porting, yes.
>>
> It makes it unnecessary hard for e.g. example code for shared component 
> packages. So can we please change it? Just say the word, and I'll do it.

Sure, go ahead.

Michael.


More information about the fpc-devel mailing list