While trying to change Attributes property of a TFieldDef object: include(AFieldDef.Attributes,faReadOnly) i get the following error: Error: Incompatible types: got "ShortInt" expected "TFieldAttribute" If someone can help me, i'd be glad. Luiz.