|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 2 of 2 total|
|The world needs more ReadOnly :-)|
|Fri, May 4 2018 5:22 PM||Permanent Link|
Hi all (or Tim),
to make sure that I don't mess with the wrong data, I'd like to make datasets read-only. Unfortunately there is no TDataSet property to do that. Ok, I could loop through the columns by code. Clumsy, but possible, and I have add exceptions explicitely in that code. But then I have to remove all TDataColumn.ReadOnly flags before I read the dataset and set them again because .LoadRows can't set read-only columns.
In short: would it be possible to add a TDataSet.ReadOnly in a future version, and to ignore TDataColumn.ReadOnly flags in .LoadRows?
|Wed, May 9 2018 3:08 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< In short: would it be possible to add a TDataSet.ReadOnly in a future version, and to ignore TDataColumn.ReadOnly flags in .LoadRows? >>
Just setting this property to False for the dataset should give you what you need:
This web page was last updated on
Wednesday, March 29, 2023 at 12:35 AM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at firstname.lastname@example.org