Subject | Re: [IBO] detecting readonly columns |
---|---|
Author | jwharton@ibobjects.com |
Post date | 2004-03-11T21:56:35Z |
I'm not sure exactly how you would do this other than inquire what the various other settings that influence the ReadOnly
status are. ReadOnly is quite a mixture of factors.
There is also the ControlsReadOnly as well.
Jason Wharton
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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
status are. ReadOnly is quite a mixture of factors.
There is also the ControlsReadOnly as well.
Jason Wharton
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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