Subject | detecting readonly columns |
---|---|
Author | Andreas Pohl |
Post date | 2004-03-05T00:21:34Z |
How do I detect if a column is set readonly?
There are several ways for setting readonly, e.g. dataset level
(dataset.ReadOnly: field=true;noedit) or same at connection level,
preventediting, readonly of dataset and/or column etc. etc.
I tried to achieve that by calling GetAttributeParamsEx() or
IsColAttributeSet[] but it doesn't work.
So is there an easy way to catch all possibilities for a simple but
complete detection of readonly state of a column?
--
Andreas
There are several ways for setting readonly, e.g. dataset level
(dataset.ReadOnly: field=true;noedit) or same at connection level,
preventediting, readonly of dataset and/or column etc. etc.
I tried to achieve that by calling GetAttributeParamsEx() or
IsColAttributeSet[] but it doesn't work.
So is there an easy way to catch all possibilities for a simple but
complete detection of readonly state of a column?
--
Andreas