Page 1 of 1

CheckRowVersion

Posted: Wed 09 Feb 2005 13:23
by T. Juentgen
Hello all, I couldn't find anything regarding the property CheckRowVersion of TMyTable.
Default it is set to false.

Any idea

Thanks for your help

Posted: Wed 09 Feb 2005 15:30
by Ikar
Please MyDAC help topic TCustomMyDataSet.Options

Posted: Wed 09 Feb 2005 17:05
by T.Juentgen
That's were I searched and I found this

type
TMyDataSetOptions = class (TDADataSetOptions)

published
property EnableBoolean: boolean;
property FieldsAsString: boolean;
property FullRefresh: boolean;
property NullForZeroDate: boolean;
property QuoteNames: boolean;
property SetFieldsReadOnly: boolean;
end;

Posted: Thu 10 Feb 2005 08:35
by Ikar
Below in this article you can read a description of CheckRowVersion property.
Error in the header we will correct at the nearest build.

Posted: Thu 10 Feb 2005 10:42
by T.Juentgen
Thanks a lot.
One question to the setting CheckRowVersion=true. In the help is written

"if CheckRowVersion is True and DataSet has timestamp field when the only this field is included into WHERE clause of generated SQL statement."

Does it mean in case that more then one record has the same value of timestamp all these records will be updated?

Posted: Thu 10 Feb 2005 16:18
by Ikar
Not, key fields will be added also.