Board index » off-topic » The seted value for TClientDataSet.TFieldDef.Size no valid why?

The seted value for TClientDataSet.TFieldDef.Size no valid why?


2005-06-14 04:14:59 PM
off-topic2
hello to all,
i have a TClientDataSet and define a field names Name, that have a ftString type and want to set that:
TClientDataSet.TFieldDef.Size:= 40;
he accept the 40 and at the application running i copy a 40 long char string to this filed Name
TClientDataSet.TFieldDef.Name:= 'aaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAA';
he cut the string longer than 20 chars why ????
TClientDataSet.TFieldDef.Name = 'aaaaaaaaaaaaaaaaaaaa'
regards
 
 

Re:The seted value for TClientDataSet.TFieldDef.Size no valid why?

When you look at the field object in the Object Inspector, what are the
Size and DisplayLength properties set to?
--
Bill Todd (TeamB)
 

Re:The seted value for TClientDataSet.TFieldDef.Size no valid why?

"Bill Todd" < XXXX@XXXXX.COM >wrote:
Quote
When you look at the field object in the Object Inspector, what are the
Size and DisplayLength properties set to?

--
Bill Todd (TeamB)
hello,
the size and the DisplayLength is 40.
regards
 

{smallsort}

Re:The seted value for TClientDataSet.TFieldDef.Size no valid why?

I have no idea. I have never had that happen or heard of it happening.
--
Bill Todd (TeamB)