[Gambas-user] Problem with DataControl
Benoît Minisini
g4mba5 at gmail.com
Thu Dec 21 20:33:10 CET 2017
Le 21/12/2017 à 20:20, T Lee Davidson a écrit :
>>
>> TextArea is used when the underlying database field has no limit. Otherwise a TextBox is used.
>>
>
> Thank you for that very useful clarification, Benoît.
>
> However, neither one of the relative underlying database fields has no limit.
>
> The one given a TextBox control has VARCHAR(200) and the DataControl given the TextArea has VARCHAR(500). Is 500 above a
> threshold that is considered 'no limit'?
>
> I'm just curious about that for future reference, because I think Bjørn can solve his problem by simply raising the limit on the
> one field.
>
>
It's just in the source code actually... If the limit is greater than
256 characters, or not limited, then a TextArea is used. Otherwise a
TextBox.
Regards,
--
Benoît Minisini
More information about the User
mailing list