On 9/30/18 6:26 PM, Martin Schreiber wrote:> On Sunday 30 September 2018
17:35:41 mohamed hamza wrote:
>> I  noticed that when we have  a field like    :   field01   char 2   in
>> database schema  and  we want to filter it we must  type  2  chars  in
>> field grid.
>>
> It could be done in tmsebufdataset.endfilteredit() for non varchar string
> fields. I'll take a look.

That becomes difficult because the field values are padded in server not
locally. -> the filter will not work on new or modified records.
Please use varchr(n) instead of char(n). If you can't change the DB
structure use the cast() function in SQL select statement.

Martin


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to