TUniTable and ReadOnly-Columns

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
HelgeLange
Posts: 17
Joined: Wed 13 Jun 2007 16:40
Location: Caracas

TUniTable and ReadOnly-Columns

Post by HelgeLange » Wed 07 Jun 2017 19:42

If I use a TUniTable and only assign TableName and KeyFields, then open it, the table will not set computed columns read-only, which causes a problem with BatchMove as it tries to copy the content of the read-only column, too.

btw. database is firebird.

Atm. I need to set up the read-obly flags manually by reading in a query all columns with ComputedSource assigned.

Helge Lange

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TUniTable and ReadOnly-Columns

Post by ViktorV » Fri 09 Jun 2017 10:37

Yes, you are right, now for computed fields the ReadOnly property is set to False. If you want us to change this behavior, write about this at our User Voice forum: https://devart.uservoice.com/forums/104 ... 939-unidac If you suggestion gets enough votes, we will consider a possibility of its change.

Post Reply