Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-07

Conflict between Sysutils.faReadOnly and db.faReadOnly (TFieldAttribute)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Américo

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.

Reply by email