Page 1 of 1

Can't get the Size property of TField I input manually

Posted: Mon 15 May 2006 17:51
by HDumas
Hi,
Using Delphi7 and ODAC 5.50. I have a TOraQuery. In this query there are pseudo-column created either with a DECODE or other function. These columns automatically are created with a size of 4000. In the component, I add all fields and in the size property of the TStringField, I change the number for 15. But in my program, when I want to get the size by doing a OraQuery.FieldbyName('Whatever').Size, it still indicates 4000. I have tried OraQuery.Fields.Size... still shows 4000.

Why isn't showing the number I put in the TField.Size property?

H.Dumas

Posted: Tue 16 May 2006 08:47
by Challenger
When you open TOraQuery component Size property of its TFields objects is reset to original value. So you can't modify this property.